java.util.Collections.list has improper return type

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: