From 5709b30c25a2dbc79454c8f5150f676de0e49a75 Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Tue, 1 May 2012 08:12:23 +0200 Subject: fix: empty (but valid) log entries are not imported --- main/src/cgeo/geocaching/files/GPXParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') 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); } } -- cgit v1.1