diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2011-10-27 09:05:04 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2011-10-27 09:05:04 +0200 |
| commit | 0e645cf3b74144de8d10f7bc8eaa5e76530e1857 (patch) | |
| tree | 5d72c631e4a117828e8c43eb41e0f5fe5ab06f67 /main/src/cgeo/geocaching/cgBase.java | |
| parent | 863ebe9d98f0159fd542cbd8d5cffce0c047e45b (diff) | |
| download | cgeo-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.java | 2 |
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); |
