diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2014-01-08 18:43:17 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2014-01-08 18:47:23 +0100 |
| commit | 7fe0fcba480d301af8c629e4a37d11e5fbd5f8fc (patch) | |
| tree | 45ff8f73038f3c406b5f4a0e2a05ed905f892c90 /main/src/cgeo/geocaching/DataStore.java | |
| parent | 2322d61a719e88e5dab1ac9ca03a5a595c2991f5 (diff) | |
| download | cgeo-7fe0fcba480d301af8c629e4a37d11e5fbd5f8fc.zip cgeo-7fe0fcba480d301af8c629e4a37d11e5fbd5f8fc.tar.gz cgeo-7fe0fcba480d301af8c629e4a37d11e5fbd5f8fc.tar.bz2 | |
Remove onTerminate() in application
Not only it is not advised to derive from `Application` as this is often
deemed useless, but also the `onTerminate()` method is never called on
real devices.
Since it causes issues with our tests since it accesses ressources that
appear to have been cleaned up already, such as the application context,
it is best to remove it entirely.
Diffstat (limited to 'main/src/cgeo/geocaching/DataStore.java')
| -rw-r--r-- | main/src/cgeo/geocaching/DataStore.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/main/src/cgeo/geocaching/DataStore.java b/main/src/cgeo/geocaching/DataStore.java index 5217a17..5d46c14 100644 --- a/main/src/cgeo/geocaching/DataStore.java +++ b/main/src/cgeo/geocaching/DataStore.java @@ -2309,11 +2309,6 @@ public class DataStore { return new SearchResult(geocodes); } - /** delete caches from the DB store 3 days or more before */ - public static void clean() { - clean(false); - } - /** * Remove caches with listId = 0 * |
