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

(coll spec) Redundant method mention in AbstractList documentation

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      A few paragraphs above "Since:" heading, the set method is mentioned twice.
      I don't know if one should be removed, or if one should be edited to name some other method.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
         . . . the "random access" methods: get(int index),
           set(int index, Object element),
           add(int index, Object element) and remove(int index).
      ACTUAL -
            . . . the "random access" methods: get(int index),
           set(int index, Object element),
           set(int index, Object element),
           add(int index, Object element) and remove(int index).

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.5.0/docs/api/java/util/AbstractList.html
      ###@###.### 10/28/04 18:50 GMT

            martin Martin Buchholz
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: