From dcc3808d78bb4cb2e6ea344c22f5ad6c3765ba66 Mon Sep 17 00:00:00 2001 From: PaulStets Date: Sat, 24 Jun 2017 15:27:20 +0300 Subject: [PATCH] Fixed version not being added to way/node --- 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) {