--- jsr166/src/test/extra166y/SortDemo.java 2009/11/16 04:16:43 1.2 +++ jsr166/src/test/extra166y/SortDemo.java 2010/09/01 07:28:19 1.3 @@ -13,7 +13,7 @@ class SortDemo { static final Random rng = new Random(); static final long NPS = (1000L * 1000 * 1000); - public static void main (String[] args) throws Exception { + public static void main(String[] args) throws Exception { int n = 1 << 20; int sreps = 4; int reps = 20; @@ -54,7 +54,7 @@ class SortDemo { System.out.printf("ParallelArray.sort time: %7.3f\n", elapsed); } - static void checkSorted (Long[] a) { + static void checkSorted(Long[] a) { int n = a.length; for (int i = 0; i < n - 1; i++) { if (a[i].compareTo(a[i+1]) > 0) {