aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgBase.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2011-10-27 09:05:04 +0200
committerSamuel Tardieu <sam@rfc1149.net>2011-10-27 09:05:04 +0200
commit0e645cf3b74144de8d10f7bc8eaa5e76530e1857 (patch)
tree5d72c631e4a117828e8c43eb41e0f5fe5ab06f67 /main/src/cgeo/geocaching/cgBase.java
parent863ebe9d98f0159fd542cbd8d5cffce0c047e45b (diff)
downloadcgeo-0e645cf3b74144de8d10f7bc8eaa5e76530e1857.zip
cgeo-0e645cf3b74144de8d10f7bc8eaa5e76530e1857.tar.gz
cgeo-0e645cf3b74144de8d10f7bc8eaa5e76530e1857.tar.bz2
Use flags rather than 6 different booleans
This makes the code easier to read, as one can tell right away what is being loaded.
Diffstat (limited to 'main/src/cgeo/geocaching/cgBase.java')
-rw-r--r--main/src/cgeo/geocaching/cgBase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/cgBase.java b/main/src/cgeo/geocaching/cgBase.java
index 108b431..836b06b 100644
--- a/main/src/cgeo/geocaching/cgBase.java
+++ b/main/src/cgeo/geocaching/cgBase.java
@@ -2102,7 +2102,7 @@ public class cgBase {
final String realGeocode = StringUtils.isNotBlank(geocode) ? geocode : app.getGeocode(guid);
List<cgCache> cacheList = new ArrayList<cgCache>();
- cacheList.add(app.getCacheByGeocode(realGeocode, true, true, true, true, true, true));
+ cacheList.add(app.getCacheByGeocode(realGeocode, cgCache.LOADALL));
search.addGeocode(realGeocode);
app.addSearch(search, cacheList, false, reason);