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

Typo in "Convenience Implementations"

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: docs
    • Labels:
      None

      Description

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

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

      Missing parenthesis.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bhoran Bernard Horan
              Reporter:
              rgallard Raymond Gallardo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: