aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgData.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/cgData.java')
-rw-r--r--main/src/cgeo/geocaching/cgData.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/cgeo/geocaching/cgData.java b/main/src/cgeo/geocaching/cgData.java
index 770a28f..78c28b1 100644
--- a/main/src/cgeo/geocaching/cgData.java
+++ b/main/src/cgeo/geocaching/cgData.java
@@ -2922,10 +2922,10 @@ public class cgData {
return cgData.getBounds(Collections.singleton(geocode));
}
- public static void clearVisitDate(List<Geocache> caches) {
- ArrayList<String> geocodes = new ArrayList<String>(caches.size());
- for (Geocache cache : caches) {
- geocodes.add(cache.getGeocode());
+ public static void clearVisitDate(String[] selected) {
+ ArrayList<String> geocodes = new ArrayList<String>();
+ for (int i = 0; i < selected.length; i++) {
+ geocodes.add(selected[i]);
}
setVisitDate(geocodes, 0);
}