--- jsr166/src/test/loops/PriorityQueueSort.java 2009/10/29 23:09:07 1.4 +++ jsr166/src/test/loops/PriorityQueueSort.java 2009/11/02 23:51:32 1.5 @@ -14,8 +14,8 @@ public class PriorityQueueSort { static class MyComparator implements Comparator { public int compare(Integer x, Integer y) { - int i = ((Integer)x).intValue(); - int j = ((Integer)y).intValue(); + int i = x; + int j = y; if (i < j) return -1; if (i > j) return 1; return 0;