--- jsr166/src/test/tck/AbstractQueuedLongSynchronizerTest.java 2010/09/16 00:52:49 1.17 +++ jsr166/src/test/tck/AbstractQueuedLongSynchronizerTest.java 2010/10/19 00:43:49 1.21 @@ -61,7 +61,7 @@ public class AbstractQueuedLongSynchroni public boolean isSignalled() { return getState() != 0; } public long tryAcquireShared(long ignore) { - return isSignalled()? 1 : -1; + return isSignalled() ? 1 : -1; } public boolean tryReleaseShared(long ignore) { @@ -477,7 +477,7 @@ public class AbstractQueuedLongSynchroni } /** - * Timed await without a signal times out + * Timed await without a signal times out */ public void testAwait_Timeout() throws InterruptedException { final Mutex sync = new Mutex(); @@ -953,7 +953,7 @@ public class AbstractQueuedLongSynchroni /** * acquireSharedTimed returns after release */ - public void testAsquireSharedTimed() throws InterruptedException { + public void testAcquireSharedTimed() throws InterruptedException { final BooleanLatch l = new BooleanLatch(); Thread t = new Thread(new CheckedRunnable() {