--- jsr166/src/test/tck/AtomicLongTest.java 2010/08/25 00:07:03 1.19 +++ jsr166/src/test/tck/AtomicLongTest.java 2011/05/27 16:43:23 1.21 @@ -1,7 +1,7 @@ /* * 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. */ @@ -241,7 +241,7 @@ public class AtomicLongTest extends JSR1 assertEquals(0L, ai.longValue()); for (long x : VALUES) { ai.set(x); - assertEquals((long)x, ai.longValue()); + assertEquals(x, ai.longValue()); } }