A DESCRIPTION OF THE PROBLEM :
Simple 1 line code example on the documentation is missing the closing parentheses ")" near the end
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
List<Type> list = new ArrayList<Type>(Collections.nCopies(1000, (Type)null));
ACTUAL -
List<Type> list = new ArrayList<Type>(Collections.nCopies(1000, (Type)null);
URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/tutorial/collections/implementations/convenience.html
Simple 1 line code example on the documentation is missing the closing parentheses ")" near the end
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
List<Type> list = new ArrayList<Type>(Collections.nCopies(1000, (Type)null));
ACTUAL -
List<Type> list = new ArrayList<Type>(Collections.nCopies(1000, (Type)null);
URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/tutorial/collections/implementations/convenience.html
- duplicates
-
JDK-8129373 Typo in "Convenience Implementations"
- Resolved