Code hygiene. Not as pedantic as I'd like, but I couldn't resist the huge time
saver that is Eclipse's "Infer generic types" which leaves HashMap and ArrayList as the declared type where I would normally prefer to change those to Map and List and use Maps and Lists to instantiate them. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@593 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -163,7 +163,7 @@ public class ObjectSet
|
||||
|
||||
/** We simply sort the objects in order of their hash code. We don't
|
||||
* care about their order, it exists only to support binary search. */
|
||||
protected static final Comparator INFO_COMP = new Comparator() {
|
||||
protected static final Comparator<Object> INFO_COMP = new Comparator<Object>() {
|
||||
public int compare (Object o1, Object o2) {
|
||||
ObjectInfo do1 = (ObjectInfo)o1;
|
||||
ObjectInfo do2 = (ObjectInfo)o2;
|
||||
|
||||
Reference in New Issue
Block a user