--- jsr166/src/jsr166y/CountedCompleter.java 2012/11/24 03:46:28 1.16 +++ jsr166/src/jsr166y/CountedCompleter.java 2012/11/25 18:45:48 1.20 @@ -133,7 +133,7 @@ package jsr166y; * directly invoke its left task before returning. (This is an analog * of tail recursion removal.) Also, because the task returns upon * executing its left task (rather than falling through to invoke - * tryComplete) the pending count is set to one: + * {@code tryComplete}) the pending count is set to one: * *
 {@code
  * class ForEach ...
@@ -303,7 +303,7 @@ package jsr166y;
  * distinguishes cases.  Most often, when the caller is {@code this},
  * no action is necessary. Otherwise the caller argument can be used
  * (usually via a cast) to supply a value (and/or links to other
- * values) to be combined.  Asuuming proper use of pending counts, the
+ * values) to be combined.  Assuming proper use of pending counts, the
  * actions inside {@code onCompletion} occur (once) upon completion of
  * a task and its subtasks. No additional synchronization is required
  * within this method to ensure thread safety of accesses to fields of
@@ -626,10 +626,12 @@ public abstract class CountedCompleter {@code
-     * for (CountedCompleter c = firstComplete(); c != null; c = c.nextComplete()) {
+     * for (CountedCompleter c = firstComplete();
+     *      c != null;
+     *      c = c.nextComplete()) {
      *   // ... process c ...
      * }}
*