From 2530e8273b67788bc3d6c647cb5047789a48d49c Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Sat, 31 Aug 2013 07:40:20 +0200 Subject: fix #3222: GPS exhibit not recognized as event cache --- main/src/cgeo/geocaching/enumerations/CacheType.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'main') diff --git a/main/src/cgeo/geocaching/enumerations/CacheType.java b/main/src/cgeo/geocaching/enumerations/CacheType.java index 6c63cac..31eb68a 100644 --- a/main/src/cgeo/geocaching/enumerations/CacheType.java +++ b/main/src/cgeo/geocaching/enumerations/CacheType.java @@ -89,8 +89,7 @@ public enum CacheType { } public boolean isEvent() { - return CacheType.EVENT == this || CacheType.MEGA_EVENT == this || CacheType.CITO == this || - CacheType.LOSTANDFOUND == this || CacheType.BLOCK_PARTY == this; + return EVENT == this || MEGA_EVENT == this || CITO == this || LOSTANDFOUND == this || BLOCK_PARTY == this || GPS_EXHIBIT == this; } @Override -- cgit v1.1