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

Error in JavaDoc for LinkedList Class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.3.0
    • docs
    • generic
    • generic



      Name: yyT116575 Date: 02/23/2001


      Unable to get this to work. It appears to 1.3.0 and 1.2.2

      The LinkedList class' JavaDoc is inconsistent. For many methods,
      it states that NoSuchElementException is thrown if the list is empty.
      However, this is not mentioned on getFirst(). A look at the
      getFirst() source code shows that this exception is indeed thrown.

      Please add this exception to the JavaDoc for this method.
      (Review ID: 117580)
      ======================================================================

            shommel Scott Hommel (Inactive)
            yyoungsunw Yung-ching Young (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: