--- jsr166/src/test/loops/PriorityQueueSort.java 2005/11/28 15:40:56 1.3 +++ jsr166/src/test/loops/PriorityQueueSort.java 2009/10/29 23:09:07 1.4 @@ -12,7 +12,7 @@ import java.util.*; public class PriorityQueueSort { - static class MyComparator implements Comparator { + static class MyComparator implements Comparator { public int compare(Integer x, Integer y) { int i = ((Integer)x).intValue(); int j = ((Integer)y).intValue(); @@ -26,7 +26,7 @@ public class PriorityQueueSort { int n = 100000; if (args.length > 0) n = Integer.parseInt(args[0]); - + List sorted = new ArrayList(n); for (int i = 0; i < n; i++) sorted.add(new Integer(i)); @@ -67,4 +67,3 @@ public class PriorityQueueSort { throw new RuntimeException("Iterator remove test failed."); } } -