diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2012-04-20 18:35:00 +0200 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2012-04-20 18:35:00 +0200 |
commit | 94e9d83ad95b003171ab5fb6f3bb2ba0436e68cc (patch) | |
tree | 0021a5c3107643c7974903596bc86bdabde08c1e /main/src/cgeo/geocaching/cgeoapplication.java | |
parent | 9e755b376fd4d3e8381ec59063249befce57ded5 (diff) | |
download | cgeo-94e9d83ad95b003171ab5fb6f3bb2ba0436e68cc.zip cgeo-94e9d83ad95b003171ab5fb6f3bb2ba0436e68cc.tar.gz cgeo-94e9d83ad95b003171ab5fb6f3bb2ba0436e68cc.tar.bz2 |
increase compiler warnings level (and fix some)
* boxing/unboxing
* name shadowing
Diffstat (limited to 'main/src/cgeo/geocaching/cgeoapplication.java')
-rw-r--r-- | main/src/cgeo/geocaching/cgeoapplication.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgeoapplication.java b/main/src/cgeo/geocaching/cgeoapplication.java index 8b5eb57..9324d52 100644 --- a/main/src/cgeo/geocaching/cgeoapplication.java +++ b/main/src/cgeo/geocaching/cgeoapplication.java @@ -319,6 +319,11 @@ public class cgeoapplication extends Application { } /** {@link cgData#getAllStoredCachesCount(boolean, CacheType, Integer)} */ + public int getAllStoredCachesCount(final boolean detailedOnly, final CacheType cacheType) { + return storage.getAllStoredCachesCount(detailedOnly, cacheType, 0); + } + + /** {@link cgData#getAllStoredCachesCount(boolean, CacheType, Integer)} */ public int getAllStoredCachesCount(final boolean detailedOnly, final CacheType cacheType, final Integer list) { return storage.getAllStoredCachesCount(detailedOnly, cacheType, list); } |