--- jsr166/src/test/loops/ConcurrentDequeLoops.java 2011/04/14 23:16:10 1.9 +++ jsr166/src/test/loops/ConcurrentDequeLoops.java 2014/12/18 18:13:06 1.10 @@ -43,8 +43,7 @@ public class ConcurrentDequeLoops { Thread.sleep(100); print = true; - int k = 1; - for (int i = 1; i <= maxStages;) { + for (int k = 1, i = 1; i <= maxStages;) { oneRun(klass, i, items); if (i == k) { k = i << 1;