aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/Geocache.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2014-02-28 21:21:30 +0100
committerSamuel Tardieu <sam@rfc1149.net>2014-02-28 21:21:30 +0100
commitb738cfa8fea4a6ac1eacdf23c66b8ddb1de76565 (patch)
treeffdd9d9d027ca99e6b945948c5242e61d692d6aa /main/src/cgeo/geocaching/Geocache.java
parentb9b4e7e7ec541e97b5948f8469d1c93dd9b7f3e5 (diff)
downloadcgeo-b738cfa8fea4a6ac1eacdf23c66b8ddb1de76565.zip
cgeo-b738cfa8fea4a6ac1eacdf23c66b8ddb1de76565.tar.gz
cgeo-b738cfa8fea4a6ac1eacdf23c66b8ddb1de76565.tar.bz2
refactoring: move GC specific code in GCParser
Diffstat (limited to 'main/src/cgeo/geocaching/Geocache.java')
-rw-r--r--main/src/cgeo/geocaching/Geocache.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java
index 4da2b8d..bac4600 100644
--- a/main/src/cgeo/geocaching/Geocache.java
+++ b/main/src/cgeo/geocaching/Geocache.java
@@ -439,22 +439,6 @@ public class Geocache implements ICache, IWaypoint {
return hidden.compareTo(cal.getTime()) >= 0;
}
- /**
- * Checks if a page contains the guid of a cache
- *
- * @param page
- * the page to search in, may be null
- * @return true if the page contains the guid of the cache, false otherwise
- */
- public boolean isGuidContainedInPage(final String page) {
- if (StringUtils.isBlank(page) || StringUtils.isBlank(guid)) {
- return false;
- }
- final Boolean found = Pattern.compile(guid, Pattern.CASE_INSENSITIVE).matcher(page).find();
- Log.i("Geocache.isGuidContainedInPage: guid '" + guid + "' " + (found ? "" : "not ") + "found");
- return found;
- }
-
public boolean isEventCache() {
return cacheType.getValue().isEvent();
}