--- jsr166/src/test/loops/IntegerSum.java 2013/03/22 18:41:30 1.3 +++ jsr166/src/test/loops/IntegerSum.java 2013/06/18 19:17:10 1.4 @@ -157,7 +157,7 @@ public class IntegerSum { static long itest(Collection c, int sum, int trials) throws Exception { if (c == null) throw new Error(); Thread.sleep(250); - long tlast = System.nanoTime(); + long tlast = System.nanoTime(); for (int i = 0; i < trials; ++i) { Integer psum = Integer.valueOf(checksum.get()); for (Integer x : c) @@ -170,7 +170,7 @@ public class IntegerSum { static long stest(Collection c, int sum, int trials) throws Exception { if (c == null) throw new Error(); Thread.sleep(250); - long tlast = System.nanoTime(); + long tlast = System.nanoTime(); for (int i = 0; i < trials; ++i) { int psum = c.stream().reduce (Integer.valueOf(checksum.get()), SUM); @@ -182,7 +182,7 @@ public class IntegerSum { static long ptest(Collection c, int sum, int trials) throws Exception { if (c == null) throw new Error(); Thread.sleep(250); - long tlast = System.nanoTime(); + long tlast = System.nanoTime(); for (int i = 0; i < trials; ++i) { int psum = c.parallelStream().reduce (Integer.valueOf(checksum.get()), SUM);