--- jsr166/src/test/loops/CancelledProducerConsumerLoops.java 2009/11/02 23:42:46 1.7 +++ jsr166/src/test/loops/CancelledProducerConsumerLoops.java 2010/09/01 07:47:27 1.9 @@ -72,7 +72,7 @@ public class CancelledProducerConsumerLo long endTime = System.nanoTime(); long time = endTime - timer.startTime; if (print) { - double secs = (double)(time) / 1000000000.0; + double secs = (double) time / 1000000000.0; System.out.println("\t " + secs + "s run time"); } } @@ -111,7 +111,7 @@ public class CancelledProducerConsumerLo final BlockingQueue queue; final CyclicBarrier barrier; final int iters; - Stage (BlockingQueue q, CyclicBarrier b, int iters) { + Stage(BlockingQueue q, CyclicBarrier b, int iters) { queue = q; barrier = b; this.iters = iters;