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

java.util.Collections.list has improper return type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • core-libs
    • None

      The JavaDoc for the static method java.util.Collections.list(Enumeration) repeated states that the method returns an AraryList. However, the method is declarted to return a List (although the List is an ArrayList). The type signature should be changed to explicitly return an ArrayList.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: