--- jsr166/src/test/tck/AtomicReferenceFieldUpdaterTest.java 2010/09/16 00:52:49 1.19 +++ jsr166/src/test/tck/AtomicReferenceFieldUpdaterTest.java 2011/05/31 16:16:23 1.23 @@ -1,14 +1,13 @@ /* * Written by Doug Lea with assistance from members of JCP JSR-166 * Expert Group and released to the public domain, as explained at - * http://creativecommons.org/licenses/publicdomain + * http://creativecommons.org/publicdomain/zero/1.0/ * Other contributors include Andrew Wright, Jeffrey Hayes, * Pat Fisher, Mike Judd. */ -import java.util.concurrent.atomic.*; import junit.framework.*; -import java.util.*; +import java.util.concurrent.atomic.AtomicReferenceFieldUpdater; public class AtomicReferenceFieldUpdaterTest extends JSR166TestCase { volatile Integer x = null; @@ -34,7 +33,6 @@ public class AtomicReferenceFieldUpdater } catch (RuntimeException success) {} } - /** * construction with field not of given type throws RuntimeException */ @@ -60,7 +58,7 @@ public class AtomicReferenceFieldUpdater } /** - * get returns the last value set or assigned + * get returns the last value set or assigned */ public void testGetSet() { AtomicReferenceFieldUpdatera; @@ -78,7 +76,7 @@ public class AtomicReferenceFieldUpdater } /** - * get returns the last value lazySet by same thread + * get returns the last value lazySet by same thread */ public void testGetLazySet() { AtomicReferenceFieldUpdatera;