ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/AbstractQueuedLongSynchronizerTest.java
(Generate patch)

Comparing jsr166/src/test/tck/AbstractQueuedLongSynchronizerTest.java (file contents):
Revision 1.18 by jsr166, Sat Oct 9 19:30:34 2010 UTC vs.
Revision 1.21 by jsr166, Tue Oct 19 00:43:49 2010 UTC

# Line 61 | Line 61 | public class AbstractQueuedLongSynchroni
61          public boolean isSignalled() { return getState() != 0; }
62  
63          public long tryAcquireShared(long ignore) {
64 <            return isSignalled()? 1 : -1;
64 >            return isSignalled() ? 1 : -1;
65          }
66  
67          public boolean tryReleaseShared(long ignore) {
# Line 953 | Line 953 | public class AbstractQueuedLongSynchroni
953      /**
954       * acquireSharedTimed returns after release
955       */
956 <    public void testAsquireSharedTimed() throws InterruptedException {
956 >    public void testAcquireSharedTimed() throws InterruptedException {
957          final BooleanLatch l = new BooleanLatch();
958  
959          Thread t = new Thread(new CheckedRunnable() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines