From 14416f33357449329913f6d2938e45f8755cc77f Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Sun, 24 Jun 2012 17:05:59 +0200 Subject: fix #1554: enumerations with name() instead of id --- main/src/cgeo/geocaching/enumerations/CacheType.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/main/src/cgeo/geocaching/enumerations/CacheType.java b/main/src/cgeo/geocaching/enumerations/CacheType.java index be66de1..730c989 100644 --- a/main/src/cgeo/geocaching/enumerations/CacheType.java +++ b/main/src/cgeo/geocaching/enumerations/CacheType.java @@ -31,7 +31,14 @@ public enum CacheType { /** No real cache type -> filter */ ALL("all", "display all caches", "9a79e6ce-3344-409c-bbe9-496530baf758", R.string.all_types, R.drawable.type_unknown); + /** + * id field is used when for storing caches in the database. + */ public final String id; + /** + * human readable name of the cache type
+ * used in web parsing as well as for gpx import/export. + */ public final String pattern; public final String guid; private final int stringId; -- cgit v1.1