--- jsr166/src/jsr166y/ForkJoinTask.java 2009/07/26 05:55:34 1.20 +++ jsr166/src/jsr166y/ForkJoinTask.java 2009/07/26 06:26:37 1.21 @@ -493,7 +493,7 @@ public abstract class ForkJoinTask im * #inForkJoinPool}). Attempts to invoke in other contexts result * in exceptions or errors, possibly including ClassCastException. * - * @return this, to simplify usage. + * @return {@code this}, to simplify usage. */ public final ForkJoinTask fork() { ((ForkJoinWorkerThread) Thread.currentThread()) @@ -1042,9 +1042,9 @@ public abstract class ForkJoinTask im // adaptors /** - * Returns a new ForkJoinTask that performs the run + * Returns a new ForkJoinTask that performs the {@code run} * method of the given Runnable as its action, and returns a null - * result upon join. + * result upon {@code join}. * * @param runnable the runnable action * @return the task @@ -1054,9 +1054,9 @@ public abstract class ForkJoinTask im } /** - * Returns a new ForkJoinTask that performs the run + * Returns a new ForkJoinTask that performs the {@code run} * method of the given Runnable as its action, and returns the - * given result upon join. + * given result upon {@code join}. * * @param runnable the runnable action * @param result the result upon completion @@ -1067,10 +1067,10 @@ public abstract class ForkJoinTask im } /** - * Returns a new ForkJoinTask that performs the call + * Returns a new ForkJoinTask that performs the {@code call} * method of the given Callable as its action, and returns its - * result upon join, translating any checked - * exceptions encountered into RuntimeException. + * result upon {@code join}, translating any checked + * exceptions encountered into {@code RuntimeException}. * * @param callable the callable action * @return the task