Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8129373

Typo in "Convenience Implementations"

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • docs
    • None

      In http://docs.oracle.com/javase/tutorial/collections/implementations/convenience.html

      List<Type> list = new ArrayList<Type>(Collections.nCopies(1000, (Type)null);

      Missing parenthesis.

            bhoran Bernard Horan (Inactive)
            rgallard Raymond Gallardo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: