aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/Geocache.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2014-01-03 14:32:54 +0100
committerSamuel Tardieu <sam@rfc1149.net>2014-01-03 14:32:54 +0100
commitccc7e82afed6c4ae6f8334a2ab05ff8acf543483 (patch)
tree977565be80b1547160bd0709e36a19999b26e30d /main/src/cgeo/geocaching/Geocache.java
parent887071302a20937a98d601f59ac74f2b9bdaa215 (diff)
downloadcgeo-ccc7e82afed6c4ae6f8334a2ab05ff8acf543483.zip
cgeo-ccc7e82afed6c4ae6f8334a2ab05ff8acf543483.tar.gz
cgeo-ccc7e82afed6c4ae6f8334a2ab05ff8acf543483.tar.bz2
There is no point in clearing an empty list
Diffstat (limited to 'main/src/cgeo/geocaching/Geocache.java')
-rw-r--r--main/src/cgeo/geocaching/Geocache.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java
index ee2e411..840e5de 100644
--- a/main/src/cgeo/geocaching/Geocache.java
+++ b/main/src/cgeo/geocaching/Geocache.java
@@ -314,7 +314,6 @@ public class Geocache implements ICache, IWaypoint {
myVote = other.myVote;
}
if (!detailed && attributes.isEmpty()) {
- attributes.clear();
if (other.attributes != null) {
attributes.addAll(other.attributes);
}