aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgBase.java
diff options
context:
space:
mode:
authorkoem <koem@petoria.de>2011-10-10 17:25:56 +0200
committerkoem <koem@petoria.de>2011-10-11 08:57:59 +0200
commit2e6caaa61eff54f717da0810f9ab748a7f6dffbe (patch)
tree3b6fdbbddef677fba1fbb4c95c739d330134653c /main/src/cgeo/geocaching/cgBase.java
parentbfa29b4962bee99f7b16b6900e424915fa2201e2 (diff)
downloadcgeo-2e6caaa61eff54f717da0810f9ab748a7f6dffbe.zip
cgeo-2e6caaa61eff54f717da0810f9ab748a7f6dffbe.tar.gz
cgeo-2e6caaa61eff54f717da0810f9ab748a7f6dffbe.tar.bz2
use WaypointType
Diffstat (limited to 'main/src/cgeo/geocaching/cgBase.java')
-rw-r--r--main/src/cgeo/geocaching/cgBase.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/cgBase.java b/main/src/cgeo/geocaching/cgBase.java
index 8ad0006..331331b 100644
--- a/main/src/cgeo/geocaching/cgBase.java
+++ b/main/src/cgeo/geocaching/cgBase.java
@@ -135,7 +135,7 @@ public class cgBase {
public final static Map<String, String> cacheTypesInv = new HashMap<String, String>();
public final static Map<String, String> cacheIDsChoices = new HashMap<String, String>();
public final static Map<CacheSize, String> cacheSizesInv = new HashMap<CacheSize, String>();
- public final static Map<WaypointType, String> waypointTypees = new HashMap<WaypointType, String>();
+ public final static Map<WaypointType, String> waypointTypes = new HashMap<WaypointType, String>();
public final static Map<String, Integer> logTypes = new HashMap<String, Integer>();
public final static Map<String, Integer> logTypes0 = new HashMap<String, Integer>();
public final static Map<Integer, String> logTypes1 = new HashMap<Integer, String>();
@@ -240,7 +240,7 @@ public class cgBase {
// waypoint types
for (WaypointType wt : WaypointType.values()) {
if (wt != WaypointType.OWN) {
- waypointTypees.put(wt, res.getString(wt.stringId));
+ waypointTypes.put(wt, res.getString(wt.stringId));
}
}
@@ -1420,7 +1420,7 @@ public class cgBase {
try {
final Matcher matcherWpType = patternWpType.matcher(wp[3]);
if (matcherWpType.find() && matcherWpType.groupCount() > 0) {
- waypoint.typee = WaypointType.FIND_BY_ID.get(matcherWpType.group(1).trim());
+ waypoint.type = WaypointType.FIND_BY_ID.get(matcherWpType.group(1).trim());
}
} catch (Exception e) {
// failed to parse type