--- jsr166/src/test/tck/AtomicLongFieldUpdaterTest.java 2011/03/15 19:47:06 1.19 +++ jsr166/src/test/tck/AtomicLongFieldUpdaterTest.java 2011/05/31 16:16:23 1.21 @@ -6,9 +6,8 @@ * Pat Fisher, Mike Judd. */ -import java.util.concurrent.atomic.*; import junit.framework.*; -import java.util.*; +import java.util.concurrent.atomic.AtomicLongFieldUpdater; public class AtomicLongFieldUpdaterTest extends JSR166TestCase { volatile long x = 0; @@ -94,7 +93,6 @@ public class AtomicLongFieldUpdaterTest assertEquals(-3,a.get(this)); } - /** * compareAndSet succeeds in changing value if equal to expected else fails */ @@ -115,7 +113,6 @@ public class AtomicLongFieldUpdaterTest assertEquals(7,a.get(this)); } - /** * compareAndSet in one thread enables another waiting for value * to succeed