diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2011-10-15 19:03:18 +0200 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2011-10-15 19:03:18 +0200 |
commit | 9715ae30450e02fcf731a06888ad832c1734e544 (patch) | |
tree | 0bf14c2df4045509d9ad08c16ce64f10a4324b40 /main/src/cgeo/geocaching/apps/cachelist | |
parent | f626fe08ed6ecf6a33327ebada2a362bbceedd57 (diff) | |
download | cgeo-9715ae30450e02fcf731a06888ad832c1734e544.zip cgeo-9715ae30450e02fcf731a06888ad832c1734e544.tar.gz cgeo-9715ae30450e02fcf731a06888ad832c1734e544.tar.bz2 |
code cleanup: remove all unnecessary casts
Diffstat (limited to 'main/src/cgeo/geocaching/apps/cachelist')
-rw-r--r-- | main/src/cgeo/geocaching/apps/cachelist/LocusCacheListApp.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/apps/cachelist/LocusCacheListApp.java b/main/src/cgeo/geocaching/apps/cachelist/LocusCacheListApp.java index e4afc31..4cce8d7 100644 --- a/main/src/cgeo/geocaching/apps/cachelist/LocusCacheListApp.java +++ b/main/src/cgeo/geocaching/apps/cachelist/LocusCacheListApp.java @@ -27,10 +27,11 @@ class LocusCacheListApp extends AbstractLocusApp implements CacheListApp { @Override public boolean invoke(cgGeo geo, List<cgCache> cacheList, Activity activity, Resources res, final UUID searchId) { - if (CollectionUtils.isEmpty(cacheList)) + if (CollectionUtils.isEmpty(cacheList)) { return false; + } - showInLocus((List<? extends Object>) cacheList, false, activity); + showInLocus(cacheList, false, activity); return true; } |