In http://docs.oracle.com/javase/tutorial/collections/implementations/convenience.html
List<Type> list = new ArrayList<Type>(Collections.nCopies(1000, (Type)null);
Missing parenthesis.
List<Type> list = new ArrayList<Type>(Collections.nCopies(1000, (Type)null);
Missing parenthesis.
- duplicates
-
JDK-8196327 Missing parentheses ")" in 1 line code sample
-
- Closed
-