--- jsr166/src/test/tck/AtomicReferenceTest.java 2005/05/25 14:27:37 1.8 +++ jsr166/src/test/tck/AtomicReferenceTest.java 2009/11/02 20:28:31 1.9 @@ -2,8 +2,8 @@ * 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 - * Other contributors include Andrew Wright, Jeffrey Hayes, - * Pat Fisher, Mike Judd. + * Other contributors include Andrew Wright, Jeffrey Hayes, + * Pat Fisher, Mike Judd. */ import junit.framework.*; @@ -96,7 +96,7 @@ public class AtomicReferenceTest extends /** * repeated weakCompareAndSet succeeds in changing value when equal - * to expected + * to expected */ public void testWeakCompareAndSet(){ AtomicReference ai = new AtomicReference(one); @@ -141,13 +141,12 @@ public class AtomicReferenceTest extends /** * toString returns current value. - */ + */ public void testToString() { - AtomicReference ai = new AtomicReference(one); + AtomicReference ai = new AtomicReference(one); assertEquals(ai.toString(), one.toString()); ai.set(two); assertEquals(ai.toString(), two.toString()); } } -