--- jsr166/src/test/extra166y/SortDemo.java 2009/11/01 22:00:35 1.1 +++ jsr166/src/test/extra166y/SortDemo.java 2009/11/16 04:16:43 1.2 @@ -39,7 +39,7 @@ class SortDemo { System.out.println(fjpool); fjpool.shutdown(); } - + static void seqSort(Long[] a) { long last = System.nanoTime(); java.util.Arrays.sort(a); @@ -53,7 +53,7 @@ class SortDemo { double elapsed = (double)(System.nanoTime() - last) / NPS; System.out.printf("ParallelArray.sort time: %7.3f\n", elapsed); } - + static void checkSorted (Long[] a) { int n = a.length; for (int i = 0; i < n - 1; i++) { @@ -62,7 +62,7 @@ class SortDemo { } } } - + static final class RandomLongGenerator implements Ops.Generator { public Long op() { return new Long(ThreadLocalRandom.current().nextLong());