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

typo in DefaultListModel.toArray()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.2
    • docs
    • beta
    • generic
    • generic



      Name: skT88420 Date: 02/24/2000


      java version "1.2.2"
      Classic VM (build JDK-1.2.2-001, native threads, symcjit)

      In the Java 2 Platform Standard Edition, v1.2.2 API Specification, in the
      specifications for the class DefaultListModel there appears to be an
      omission in the method summary and method detail for toArray(). There is no
      parameter listed in either section (as in " public Object[] toArray() "),
      yet the method detail says that there are parameters -- apparently an
      Object[] a. Other classes like ArrayList have two versions of the method --
      public Object[] toArray() and public Object[] toArray(Object [] a). So
      which version is it supposed to be in DefaultListModel?
      (Review ID: 101703)
      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: