aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/files/GPXParser.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-05-01 08:15:49 +0200
committerBananeweizen <bananeweizen@gmx.de>2012-05-01 08:15:49 +0200
commite3f07c229b048d39bcb61db16545648aa697e0d6 (patch)
treee33f3d7b7adb9b453964f7024b450899a424e2ce /main/src/cgeo/geocaching/files/GPXParser.java
parent5709b30c25a2dbc79454c8f5150f676de0e49a75 (diff)
downloadcgeo-e3f07c229b048d39bcb61db16545648aa697e0d6.zip
cgeo-e3f07c229b048d39bcb61db16545648aa697e0d6.tar.gz
cgeo-e3f07c229b048d39bcb61db16545648aa697e0d6.tar.bz2
refactoring: rename log typ enums for easier code completion and
reading
Diffstat (limited to 'main/src/cgeo/geocaching/files/GPXParser.java')
-rw-r--r--main/src/cgeo/geocaching/files/GPXParser.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/files/GPXParser.java b/main/src/cgeo/geocaching/files/GPXParser.java
index 7cc8fbc..c8bf2f4 100644
--- a/main/src/cgeo/geocaching/files/GPXParser.java
+++ b/main/src/cgeo/geocaching/files/GPXParser.java
@@ -674,7 +674,7 @@ public abstract class GPXParser extends FileParser {
@Override
public void start(Attributes attrs) {
- log = new LogEntry("", 0, LogType.LOG_UNKNOWN, "");
+ log = new LogEntry("", 0, LogType.UNKNOWN, "");
try {
if (attrs.getIndex("id") > -1) {
@@ -690,7 +690,7 @@ public abstract class GPXParser extends FileParser {
@Override
public void end() {
- if (log.type != LogType.LOG_UNKNOWN) {
+ if (log.type != LogType.UNKNOWN) {
cache.appendLog(log);
}
}