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

Kestrel-FCS-U swing Timer.java has wrong javadoc tag @returns instead of @return

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0
    • client-libs
    • beta
    • x86
    • windows_nt
    • Verified

      Kestrel-FCS-U swing Timer.java has wrong javadoc tag @returns instead of @return.

      This causes the bold return statement in the javadoc not to show up.

      The error is on line 159 of Timer.java. Please change @returns to @return.

      Here's a link to the javadoc:
      file:/usr/local/java/jdk1.3/doc/api/javax/swing/Timer.html#getListeners(java.lang.Class)

      Here's what it says:
      public EventListener[] getListeners(Class listenerType)
            Return an array of all the listeners of the given type that were added to this timer.
            Since: 1.3

      It should also include a line that says:
             Returns: an array of all the listeners of the given type that were added to this timer.

      Also, while this file is being fixed, please fix this word: recieving in the return statement. Should be receiving.

      nancy.schorr@eng 2000-02-17

            sharonz Sharon Zakhour (Inactive)
            nschorrsunw Nancy Schorr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: