Anally removed Comparator.equals() implementations that overrode

Object.equals() with equivalent functionality.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1799 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2002-10-15 21:01:39 +00:00
parent 107273fce3
commit be2bc4205b
5 changed files with 5 additions and 30 deletions
@@ -1,5 +1,5 @@
//
// $Id: DirtyItemList.java,v 1.15 2002/09/26 23:35:10 mdb Exp $
// $Id: DirtyItemList.java,v 1.16 2002/10/15 21:01:39 ray Exp $
package com.threerings.miso.scene;
@@ -339,12 +339,6 @@ public class DirtyItemList
return (_axis == X_AXIS) ? (da.ox - db.ox) : (da.oy - db.oy);
}
// documentation inherited
public boolean equals (Object obj)
{
return (obj == this);
}
/** The axis this comparator sorts on. */
protected int _axis;
}
@@ -1,5 +1,5 @@
//
// $Id: ObjectSet.java,v 1.1 2002/09/23 21:53:23 mdb Exp $
// $Id: ObjectSet.java,v 1.2 2002/10/15 21:01:39 ray Exp $
package com.threerings.miso.scene.util;
@@ -120,10 +120,6 @@ public class ObjectSet
public int compare (Object o1, Object o2) {
return o1.hashCode() - o2.hashCode();
}
public boolean equals (Object other) {
return this == other;
}
};
/** We start big because we know these will in general contain at