aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/files/GPXParser.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-05-01 08:12:23 +0200
committerBananeweizen <bananeweizen@gmx.de>2012-05-01 08:12:23 +0200
commit5709b30c25a2dbc79454c8f5150f676de0e49a75 (patch)
tree0837d5b5a4fe581998b8dbb83e26721626474f14 /main/src/cgeo/geocaching/files/GPXParser.java
parent4befdab254fcee09ecaeb08811c19ed9eb4d9249 (diff)
downloadcgeo-5709b30c25a2dbc79454c8f5150f676de0e49a75.zip
cgeo-5709b30c25a2dbc79454c8f5150f676de0e49a75.tar.gz
cgeo-5709b30c25a2dbc79454c8f5150f676de0e49a75.tar.bz2
fix: empty (but valid) log entries are not imported
Diffstat (limited to 'main/src/cgeo/geocaching/files/GPXParser.java')
-rw-r--r--main/src/cgeo/geocaching/files/GPXParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/files/GPXParser.java b/main/src/cgeo/geocaching/files/GPXParser.java
index 7870a16..7cc8fbc 100644
--- a/main/src/cgeo/geocaching/files/GPXParser.java
+++ b/main/src/cgeo/geocaching/files/GPXParser.java
@@ -690,7 +690,7 @@ public abstract class GPXParser extends FileParser {
@Override
public void end() {
- if (StringUtils.isNotBlank(log.log)) {
+ if (log.type != LogType.LOG_UNKNOWN) {
cache.appendLog(log);
}
}