--- jsr166/src/test/tck/PhaserTest.java 2009/07/31 23:02:50 1.1 +++ jsr166/src/test/tck/PhaserTest.java 2009/08/01 21:56:02 1.3 @@ -216,7 +216,7 @@ public class PhaserTest extends JSR166Te } /** - * arrive() returns a negative number if the Phaser is termindated + * arrive() returns a negative number if the Phaser is terminated */ public void testArrive3() { Phaser phaser = new Phaser(1); @@ -227,7 +227,7 @@ public class PhaserTest extends JSR166Te /** * arriveAndDeregister() throws IllegalStateException if number of - * registered or unnarived parties would become negative + * registered or unarrived parties would become negative */ public void testArriveAndDeregister1() { try { @@ -240,7 +240,7 @@ public class PhaserTest extends JSR166Te } /** - * arriveAndDeregister derigisters reduces the number of arrived parties + * arriveAndDeregister deregisters reduces the number of arrived parties */ public void testArriveAndDergeister2() { final Phaser phaser = new Phaser(1); @@ -424,7 +424,7 @@ public class PhaserTest extends JSR166Te * waits for the second thread's party to arrive */ new Thread() { - + public void run() { getRunnable(SMALL_DELAY_MS).run(); int phase = phaser.awaitAdvance(phaser.arrive()); @@ -437,8 +437,8 @@ public class PhaserTest extends JSR166Te }.start(); /* * This thread will cause the first thread run to wait, in doing so - * the main thread will force termination in which the first thread - * should exit peacefully as this one + * the main thread will force termination in which the first thread + * should exit peacefully as this one */ new Thread() {