aboutsummaryrefslogtreecommitdiff
path: root/src/net/cbaines/suma/POI.java
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2012-02-16 13:43:51 +0000
committerChristopher Baines <cbaines8@gmail.com>2012-02-16 13:43:51 +0000
commit86629c735d4f7c48e1562825ca63ba3335363cbb (patch)
tree87ff143b433350c531800428c6182e6568e44e9e /src/net/cbaines/suma/POI.java
parente20303f3de0782c31a0a794d1be4a06e3b4a0c76 (diff)
downloadsouthamptonuniversitymap-86629c735d4f7c48e1562825ca63ba3335363cbb.tar
southamptonuniversitymap-86629c735d4f7c48e1562825ca63ba3335363cbb.tar.gz
ARRRRRRRGHH, bus routes dont work, the U6 route loops over the same ground twice by wessex lane, traveling in the same direction, breaking the BusRoute.moveInRoute code :(
Diffstat (limited to 'src/net/cbaines/suma/POI.java')
-rw-r--r--src/net/cbaines/suma/POI.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/net/cbaines/suma/POI.java b/src/net/cbaines/suma/POI.java
index dba7924..244198d 100644
--- a/src/net/cbaines/suma/POI.java
+++ b/src/net/cbaines/suma/POI.java
@@ -60,8 +60,6 @@ public abstract class POI {
final int prime = 31;
int result = 1;
result = prime * result + ((id == null) ? 0 : id.hashCode());
- result = prime * result + ((point == null) ? 0 : point.hashCode());
- result = prime * result + ((type == null) ? 0 : type.hashCode());
return result;
}
@@ -79,16 +77,6 @@ public abstract class POI {
return false;
} else if (!id.equals(other.id))
return false;
- if (point == null) {
- if (other.point != null)
- return false;
- } else if (!point.equals(other.point))
- return false;
- if (type == null) {
- if (other.type != null)
- return false;
- } else if (!type.equals(other.type))
- return false;
return true;
}
}