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)
======================================================================
- duplicates
-
JDK-4295555 (spec thread) Cut-and-paste error in Thread.getPriority's @return tag
-
- Closed
-