--- jsr166/src/jsr166y/ForkJoinTask.java 2012/01/26 18:15:12 1.82 +++ jsr166/src/jsr166y/ForkJoinTask.java 2012/01/28 04:32:25 1.84 @@ -93,7 +93,7 @@ import java.lang.reflect.Constructor; * performs the most common form of parallel invocation: forking a set * of tasks and joining them all. * - *

In the most typical usages, a fork-join pair act like a a call + *

In the most typical usages, a fork-join pair act like a call * (fork) and return (join) from a parallel recursive function. As is * the case with other forms of recursive calls, returns (joins) * should be performed innermost-first. For example, {@code a.fork(); @@ -143,10 +143,10 @@ import java.lang.reflect.Constructor; * use these {@code protected} methods or marks for any purpose, but * they may be of use in the construction of specialized subclasses. * For example, parallel graph traversals can use the supplied methods - * to avoid revisiting nodes/tasks that have already been - * processed. Also, completion based designs can use them to record - * that one subtask has completed. (Method names for marking are bulky - * in part to encourage definition of methods that reflect their usage + * to avoid revisiting nodes/tasks that have already been processed. + * Also, completion based designs can use them to record that one + * subtask has completed. (Method names for marking are bulky in part + * to encourage definition of methods that reflect their usage * patterns.) * *

Most base support methods are {@code final}, to prevent @@ -235,7 +235,7 @@ public abstract class ForkJoinTask im /** * Marks completion and wakes up threads waiting to join this * task, also clearing signal request bits. A specialization for - * NORMAL completion is in method doExec + * NORMAL completion is in method doExec. * * @param completion one of NORMAL, CANCELLED, EXCEPTIONAL * @return completion status on exit