aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-01-08 12:52:41 +0100
committerBananeweizen <bananeweizen@gmx.de>2012-01-08 12:52:41 +0100
commit867f3024ce13da0963306fd86242cd915a7858f8 (patch)
tree10df1798856d83c74bbf268812fb68ab191d7eef /tests
parentffee09f7c5e4867184fff6e4fef8f9c19a47f370 (diff)
downloadcgeo-867f3024ce13da0963306fd86242cd915a7858f8.zip
cgeo-867f3024ce13da0963306fd86242cd915a7858f8.tar.gz
cgeo-867f3024ce13da0963306fd86242cd915a7858f8.tar.bz2
refactoring: clean up code around static maps
Diffstat (limited to 'tests')
-rw-r--r--tests/src/cgeo/geocaching/cgeoApplicationTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/cgeoApplicationTest.java b/tests/src/cgeo/geocaching/cgeoApplicationTest.java
index e868055..21f14aa 100644
--- a/tests/src/cgeo/geocaching/cgeoApplicationTest.java
+++ b/tests/src/cgeo/geocaching/cgeoApplicationTest.java
@@ -280,7 +280,7 @@ public class cgeoApplicationTest extends ApplicationTestCase<cgeoapplication> {
/** Remove cache from DB and cache to ensure that the cache is not loaded from the database */
private static void deleteCacheFromDBAndLogout(String geocode) {
cgeoapplication.getInstance().dropCaches(Arrays.asList(geocode));
- cgeoapplication.getInstance().removeCacheFromCache(geocode);
+ cgeoapplication.removeCacheFromCache(geocode);
cgBase.logout();
// Modify login data to avoid an automatic login again