aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/apps/cache
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-05-30 07:30:36 +0200
committerBananeweizen <bananeweizen@gmx.de>2012-05-30 07:30:36 +0200
commit1cc60d0d381939573b719a3091637c2cef5a6df8 (patch)
tree8f74fa85cbccdbf08fe224a66ae7eeb46426370f /main/src/cgeo/geocaching/apps/cache
parente8b6712d85938c49a82554ca27946456c8410c5d (diff)
downloadcgeo-1cc60d0d381939573b719a3091637c2cef5a6df8.zip
cgeo-1cc60d0d381939573b719a3091637c2cef5a6df8.tar.gz
cgeo-1cc60d0d381939573b719a3091637c2cef5a6df8.tar.bz2
refactoring: clean up leaked interface of static maps provider
Diffstat (limited to 'main/src/cgeo/geocaching/apps/cache')
-rw-r--r--main/src/cgeo/geocaching/apps/cache/navi/AbstractStaticMapsApp.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/apps/cache/navi/AbstractStaticMapsApp.java b/main/src/cgeo/geocaching/apps/cache/navi/AbstractStaticMapsApp.java
index 8e5d7d1..213e806 100644
--- a/main/src/cgeo/geocaching/apps/cache/navi/AbstractStaticMapsApp.java
+++ b/main/src/cgeo/geocaching/apps/cache/navi/AbstractStaticMapsApp.java
@@ -27,7 +27,7 @@ abstract class AbstractStaticMapsApp extends AbstractApp implements CacheNavigat
protected static boolean hasStaticMap(cgCache cache) {
String geocode = cache.getGeocode();
if (StringUtils.isNotEmpty(geocode) && cgeoapplication.getInstance().isOffline(geocode, null)) {
- return StaticMapsProvider.doesExistStaticMapForCache(geocode);
+ return StaticMapsProvider.hasStaticMapForCache(geocode);
}
return false;
}
@@ -36,7 +36,7 @@ abstract class AbstractStaticMapsApp extends AbstractApp implements CacheNavigat
String geocode = waypoint.getGeocode();
int id = waypoint.getId();
if (StringUtils.isNotEmpty(geocode) && cgeoapplication.getInstance().isOffline(geocode, null)) {
- return StaticMapsProvider.doesExistStaticMapForWaypoint(geocode, id);
+ return StaticMapsProvider.hasStaticMapForWaypoint(geocode, id);
}
return false;
}