aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/enumerations/LoadFlags.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/enumerations/LoadFlags.java')
-rw-r--r--main/src/cgeo/geocaching/enumerations/LoadFlags.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/enumerations/LoadFlags.java b/main/src/cgeo/geocaching/enumerations/LoadFlags.java
index c56a7ba..fb894ac 100644
--- a/main/src/cgeo/geocaching/enumerations/LoadFlags.java
+++ b/main/src/cgeo/geocaching/enumerations/LoadFlags.java
@@ -37,9 +37,10 @@ public interface LoadFlags {
public enum RemoveFlag {
REMOVE_CACHE, // save only to CacheCache
- REMOVE_DB // includes removing from CacheCache
+ REMOVE_DB, // includes removing from CacheCache
+ REMOVE_OWN_WAYPOINTS_ONLY_FOR_TESTING // only to be used in unit testing (as we never delete own waypoints)
}
- public final static EnumSet<RemoveFlag> REMOVE_ALL = EnumSet.allOf(RemoveFlag.class);
+ public final static EnumSet<RemoveFlag> REMOVE_ALL = EnumSet.of(RemoveFlag.REMOVE_CACHE, RemoveFlag.REMOVE_DB);
} \ No newline at end of file