Undo my collections changes, as I was wrong here

This commit is contained in:
Mike Jensen 2014-12-15 17:15:00 -07:00
parent 32a1fb21f2
commit ee0ad22415

View File

@ -38,11 +38,7 @@ public class Collections {
public static void sort(List list) {
sort(list, new Comparator() {
public int compare(Object a, Object b) {
if (a instanceof Comparable) {
return ((Comparable) a).compareTo(b);
} else {
return a.hashCode() - b.hashCode();
}
}
});
}