aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-09-17 18:33:38 +0200
committerBananeweizen <bananeweizen@gmx.de>2013-09-17 18:33:38 +0200
commit3d19577afd5ce9ea427d460a3197149fbef60113 (patch)
tree8d710eb6edc608ef216c09724f56fccd77a27495
parentebdb36de77ea27425afa733321ad5ec6e5e692fd (diff)
downloadcgeo-3d19577afd5ce9ea427d460a3197149fbef60113.zip
cgeo-3d19577afd5ce9ea427d460a3197149fbef60113.tar.gz
cgeo-3d19577afd5ce9ea427d460a3197149fbef60113.tar.bz2
refactoring: remove GPX parser warning
* if files cannot be parsed, an error is logged by the importer anyway
-rw-r--r--main/src/cgeo/geocaching/files/GPXParser.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/files/GPXParser.java b/main/src/cgeo/geocaching/files/GPXParser.java
index dc21552..7d33769 100644
--- a/main/src/cgeo/geocaching/files/GPXParser.java
+++ b/main/src/cgeo/geocaching/files/GPXParser.java
@@ -1,12 +1,12 @@
package cgeo.geocaching.files;
+import cgeo.geocaching.CgeoApplication;
import cgeo.geocaching.DataStore;
import cgeo.geocaching.Geocache;
import cgeo.geocaching.LogEntry;
import cgeo.geocaching.R;
import cgeo.geocaching.Trackable;
import cgeo.geocaching.Waypoint;
-import cgeo.geocaching.CgeoApplication;
import cgeo.geocaching.connector.ConnectorFactory;
import cgeo.geocaching.enumerations.CacheSize;
import cgeo.geocaching.enumerations.CacheType;
@@ -787,7 +787,6 @@ public abstract class GPXParser extends FileParser {
Xml.parse(progressStream, Xml.Encoding.UTF_8, root.getContentHandler());
return DataStore.loadCaches(result, EnumSet.of(LoadFlag.LOAD_DB_MINIMAL));
} catch (final SAXException e) {
- Log.w("Cannot parse .gpx file as GPX " + version + ": could not parse XML - ", e);
throw new ParserException("Cannot parse .gpx file as GPX " + version + ": could not parse XML", e);
}
}