--- jsr166/src/jsr166y/Phaser.java 2009/07/27 21:41:53 1.24 +++ jsr166/src/jsr166y/Phaser.java 2009/08/02 17:02:06 1.25 @@ -140,7 +140,7 @@ import java.util.concurrent.locks.LockSu * phaser.arriveAndDeregister(); // deregister self, don't wait * }} * - *

To create a set of tasks using a tree of phasers, + *

To create a set of tasks using a tree of phasers, * you could use code of the following form, assuming a * Task class with a constructor accepting a phaser that * it registers for upon construction: @@ -712,12 +712,12 @@ public class Phaser { * termination state, and subsequent calls to {@link #isTerminated} * will return true. * - *

The default version returns {@code true} when the number of + *

The default version returns {@code true} when the number of * registered parties is zero. Normally, overrides that arrange * termination for other reasons should also preserve this * property. * - *

You may override this method to perform an action with side + *

You may override this method to perform an action with side * effects visible to participating tasks, but it is in general * only sensible to do so in designs where all parties register * before any arrive, and all {@link #awaitAdvance} at each phase.