diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2012-12-17 12:25:38 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2012-12-17 12:25:38 +0100 |
| commit | e7b6124c9a211a43678f38f9a1eb094ac6c47c16 (patch) | |
| tree | 79d05caed8e887267f7b19c590c1352a5c335b5e /main/src | |
| parent | 3bceb8eaacd5da00a4c80e4c4d78cc2ebfa1da8e (diff) | |
| download | cgeo-e7b6124c9a211a43678f38f9a1eb094ac6c47c16.zip cgeo-e7b6124c9a211a43678f38f9a1eb094ac6c47c16.tar.gz cgeo-e7b6124c9a211a43678f38f9a1eb094ac6c47c16.tar.bz2 | |
Refactoring: remove non-sensical test, this can never be null
Diffstat (limited to 'main/src')
| -rw-r--r-- | main/src/cgeo/geocaching/SearchResult.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/main/src/cgeo/geocaching/SearchResult.java b/main/src/cgeo/geocaching/SearchResult.java index 861367b..7050c53 100644 --- a/main/src/cgeo/geocaching/SearchResult.java +++ b/main/src/cgeo/geocaching/SearchResult.java @@ -220,10 +220,6 @@ public class SearchResult implements Parcelable { } public boolean hasUnsavedCaches() { - if (this == null) { - return false; - } - for (final String geocode : getGeocodes()) { if (!cgData.isOffline(geocode, null)) { return true; |
