diff --git a/src/java/com/threerings/stage/data/StageLocation.java b/src/java/com/threerings/stage/data/StageLocation.java index 2a6c6bc4..694e3d44 100644 --- a/src/java/com/threerings/stage/data/StageLocation.java +++ b/src/java/com/threerings/stage/data/StageLocation.java @@ -93,15 +93,6 @@ public class StageLocation extends SimpleStreamableObject */ public boolean equals (Object other) { - // TEMP - if (other instanceof com.threerings.whirled.spot.data.SceneLocation) { - com.threerings.stage.Log.warning( - "Illegal compare of SceneLocation and Location!!!"); - Thread.dumpStack(); // this will help us find logic errors, - // as a SceneLocation and a Location shouldn't be compared.. - } - // END: temp - if (other instanceof StageLocation) { StageLocation that = (StageLocation) other; return (this.x == that.x) && (this.y == that.y); diff --git a/src/java/com/threerings/whirled/spot/data/SceneLocation.java b/src/java/com/threerings/whirled/spot/data/SceneLocation.java index e37c0b8e..3ab2f097 100644 --- a/src/java/com/threerings/whirled/spot/data/SceneLocation.java +++ b/src/java/com/threerings/whirled/spot/data/SceneLocation.java @@ -66,15 +66,6 @@ public class SceneLocation extends SimpleStreamableObject // documentation inherited public boolean equals (Object other) { - // TEMP - if (other instanceof Location) { - com.threerings.whirled.spot.Log.warning( - "Illegal compare of SceneLocation and Location!!!"); - Thread.dumpStack(); // this will help us find logic errors, - // as a SceneLocation and a Location shouldn't be compared - } - // END: temp - return (other instanceof SceneLocation) && this.loc.equals(((SceneLocation) other).loc); }