--- jsr166/src/test/tck/AtomicIntegerTest.java 2005/10/07 14:58:35 1.11 +++ jsr166/src/test/tck/AtomicIntegerTest.java 2009/11/02 20:28:31 1.12 @@ -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.*; @@ -44,7 +44,7 @@ public class AtomicIntegerTest extends J assertEquals(2,ai.get()); ai.set(-3); assertEquals(-3,ai.get()); - + } /** @@ -57,7 +57,7 @@ public class AtomicIntegerTest extends J assertEquals(2,ai.get()); ai.lazySet(-3); assertEquals(-3,ai.get()); - + } /** * compareAndSet succeeds in changing value if equal to expected else fails @@ -97,7 +97,7 @@ public class AtomicIntegerTest extends J /** * repeated weakCompareAndSet succeeds in changing value when equal - * to expected + * to expected */ public void testWeakCompareAndSet(){ AtomicInteger ai = new AtomicInteger(1); @@ -213,7 +213,7 @@ public class AtomicIntegerTest extends J /** * toString returns current value. - */ + */ public void testToString() { AtomicInteger ai = new AtomicInteger(); for (int i = -12; i < 6; ++i) { @@ -224,7 +224,7 @@ public class AtomicIntegerTest extends J /** * intValue returns current value. - */ + */ public void testIntValue() { AtomicInteger ai = new AtomicInteger(); for (int i = -12; i < 6; ++i) { @@ -236,7 +236,7 @@ public class AtomicIntegerTest extends J /** * longValue returns current value. - */ + */ public void testLongValue() { AtomicInteger ai = new AtomicInteger(); for (int i = -12; i < 6; ++i) { @@ -247,7 +247,7 @@ public class AtomicIntegerTest extends J /** * floatValue returns current value. - */ + */ public void testFloatValue() { AtomicInteger ai = new AtomicInteger(); for (int i = -12; i < 6; ++i) { @@ -258,7 +258,7 @@ public class AtomicIntegerTest extends J /** * doubleValue returns current value. - */ + */ public void testDoubleValue() { AtomicInteger ai = new AtomicInteger(); for (int i = -12; i < 6; ++i) {