--- jsr166/src/jsr166y/ForkJoinWorkerThread.java 2009/07/26 17:33:37 1.20 +++ jsr166/src/jsr166y/ForkJoinWorkerThread.java 2009/07/27 20:57:44 1.21 @@ -265,8 +265,9 @@ public class ForkJoinWorkerThread extend final boolean shutdownNow() { return transitionRunStateTo(TERMINATING); } /** - * Transitions to at least the given state. Returns true if not - * already at least at given state. + * Transitions to at least the given state. + * + * @return {@code true} if not already at least at given state */ private boolean transitionRunStateTo(int state) { for (;;) { @@ -372,7 +373,7 @@ public class ForkJoinWorkerThread extend * {@code super.onTermination} at the end of the overridden method. * * @param exception the exception causing this thread to abort due - * to an unrecoverable error, or null if completed normally + * to an unrecoverable error, or {@code null} if completed normally */ protected void onTermination(Throwable exception) { // Execute remaining local tasks unless aborting or terminating @@ -667,8 +668,8 @@ public class ForkJoinWorkerThread extend } /** - * Returns true if at least one worker in the given array appears - * to have at least one queued task. + * Returns {@code true} if at least one worker in the given array + * appears to have at least one queued task. * * @param ws array of workers */