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

Simple typo in java.lang.Thread documentation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0, 1.3.1
    • docs
    • beta2
    • generic
    • generic



      Name: bsC130419 Date: 06/26/2001


      java version "this.is.ridiculous"


      The page

        http://java.sun.com/j2se/1.3/docs/api/java/lang/Thread.html#getPriority()

      says

      > getPriority
      >
      > public final int getPriority()
      >
      > Returns this thread's priority.
      > Returns:
      > this thread's name.

      The above line is obviously wrong. It should be "this thread's priority.".


      > See Also:
      > setPriority(int), setPriority(int)

      Mentioning "setPriority(int)" twice seems a little superfluous (as both links
      are identical).
      (Review ID: 126228)
      ======================================================================

            jhosunw Jamie Ho (Inactive)
            bstrathesunw Bill Strathearn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: