aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgCache.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2012-04-11 09:59:41 +0200
committerSamuel Tardieu <sam@rfc1149.net>2012-04-11 15:45:32 +0200
commit138fb60259388ffe469e435a70f79e8676b96e05 (patch)
tree626530910734bd51e4bc0444131fbc1c26099128 /main/src/cgeo/geocaching/cgCache.java
parent48cfc74434c22e2d54b32cc659877e648536e818 (diff)
downloadcgeo-138fb60259388ffe469e435a70f79e8676b96e05.zip
cgeo-138fb60259388ffe469e435a70f79e8676b96e05.tar.gz
cgeo-138fb60259388ffe469e435a70f79e8676b96e05.tar.bz2
Implement equals() and hashCode() for Geopoint
Diffstat (limited to 'main/src/cgeo/geocaching/cgCache.java')
-rw-r--r--main/src/cgeo/geocaching/cgCache.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/cgCache.java b/main/src/cgeo/geocaching/cgCache.java
index 5a14155..36fd064 100644
--- a/main/src/cgeo/geocaching/cgCache.java
+++ b/main/src/cgeo/geocaching/cgCache.java
@@ -308,7 +308,7 @@ public class cgCache implements ICache, IWaypoint {
premiumMembersOnly == other.premiumMembersOnly &&
difficulty == other.difficulty &&
terrain == other.terrain &&
- (coords != null ? coords.isEqualTo(other.coords) : null == other.coords) &&
+ (coords != null ? coords.equals(other.coords) : null == other.coords) &&
reliableLatLon == other.reliableLatLon &&
disabled == other.disabled &&
archived == other.archived &&