From 895001620ba7834ebd2f2de20a8130532ab47215 Mon Sep 17 00:00:00 2001 From: vshcherb Date: Sat, 24 Jun 2017 13:48:19 +0200 Subject: [PATCH] Update OsmBaseStorage.java --- OsmAnd-java/src/net/osmand/osm/io/OsmBaseStorage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/net/osmand/osm/io/OsmBaseStorage.java b/OsmAnd-java/src/net/osmand/osm/io/OsmBaseStorage.java index af1b54eeb7..d72fb952ce 100755 --- a/OsmAnd-java/src/net/osmand/osm/io/OsmBaseStorage.java +++ b/OsmAnd-java/src/net/osmand/osm/io/OsmBaseStorage.java @@ -262,7 +262,7 @@ public class OsmBaseStorage { if (parser.getAttributeName(parser.getAttributeCount() - 1).equals(ATTR_VERSION)) { return Integer.valueOf(parser.getAttributeValue(parser.getAttributeCount() - 1)); } - return -1; + return 0; } public void endElement(XmlPullParser parser, String name) {