--- jsr166/src/test/loops/CheckedLockLoops.java 2005/05/09 19:33:30 1.2 +++ jsr166/src/test/loops/CheckedLockLoops.java 2009/08/01 22:12:59 1.3 @@ -179,7 +179,7 @@ public final class CheckedLockLoops { private volatile int readBarrier; final int loop(int n) { int sum = 0; - int x = 0;; + int x = 0; while (n-- > 0) { int r1 = readBarrier; x = setValue(LoopHelpers.compute1(getValue())); @@ -195,7 +195,7 @@ public final class CheckedLockLoops { private static class BuiltinLockLoop extends LockLoop { final int loop(int n) { int sum = 0; - int x = 0;; + int x = 0; while (n-- > 0) { synchronized(this) { x = setValue(LoopHelpers.compute1(getValue()));