--- jsr166/src/jsr166y/Phaser.java 2013/01/09 02:51:37 1.79
+++ jsr166/src/jsr166y/Phaser.java 2016/07/15 18:49:12 1.81
@@ -44,7 +44,7 @@ import java.util.concurrent.locks.LockSu
*
*
*
- * - Arrival. Methods {@link #arrive} and
+ *
- Arrival. Methods {@link #arrive} and
* {@link #arriveAndDeregister} record arrival. These methods
* do not block, but return an associated arrival phase
* number; that is, the phase number of the phaser to which
@@ -57,7 +57,7 @@ import java.util.concurrent.locks.LockSu
* flexible than, providing a barrier action to a {@code
* CyclicBarrier}.
*
- *
- Waiting. Method {@link #awaitAdvance} requires an
+ *
- Waiting. Method {@link #awaitAdvance} requires an
* argument indicating an arrival phase number, and returns when
* the phaser advances to (or is already at) a different phase.
* Unlike similar constructions using {@code CyclicBarrier},
@@ -193,7 +193,6 @@ import java.util.concurrent.locks.LockSu
* phaser.arriveAndDeregister();
* }}
*
- *
*
To create a set of {@code n} tasks using a tree of phasers, you
* could use code of the following form, assuming a Task class with a
* constructor accepting a {@code Phaser} that it registers with upon