--- jsr166/src/jsr166y/ForkJoinPool.java 2009/07/31 20:17:52 1.34 +++ jsr166/src/jsr166y/ForkJoinPool.java 2009/08/02 11:54:31 1.37 @@ -81,10 +81,10 @@ public class ForkJoinPool extends Abstra private static final int MAX_THREADS = 0x7FFF; /** - * Factory for creating new ForkJoinWorkerThreads. A - * ForkJoinWorkerThreadFactory must be defined and used for - * ForkJoinWorkerThread subclasses that extend base functionality - * or initialize threads with different contexts. + * Factory for creating new {@link ForkJoinWorkerThread}s. + * A {@code ForkJoinWorkerThreadFactory} must be defined and used + * for {@code ForkJoinWorkerThread} subclasses that extend base + * functionality or initialize threads with different contexts. */ public static interface ForkJoinWorkerThreadFactory { /** @@ -578,7 +578,7 @@ public class ForkJoinPool extends Abstra * @throws NullPointerException if task is null * @throws RejectedExecutionException if pool is shut down */ - public void execute(ForkJoinTask task) { + public void execute(ForkJoinTask task) { doSubmit(task); } @@ -787,7 +787,7 @@ public class ForkJoinPool extends Abstra * Setting this value has no effect on current pool size. It * controls construction of new threads. * - * @throws IllegalArgumentException if negative or greater then + * @throws IllegalArgumentException if negative or greater than * internal implementation limit */ public void setMaximumPoolSize(int newMax) { @@ -1735,7 +1735,9 @@ public class ForkJoinPool extends Abstra /** * Interface for extending managed parallelism for tasks running - * in ForkJoinPools. A ManagedBlocker provides two methods. + * in {@link ForkJoinPool}s. + * + *

A {@code ManagedBlocker} provides two methods. * Method {@code isReleasable} must return {@code true} if * blocking is not necessary. Method {@code block} blocks the * current thread if necessary (perhaps internally invoking