Update OsmBaseStorage.java

This commit is contained in:
vshcherb 2017-06-24 13:48:19 +02:00 committed by GitHub
parent 19661f2243
commit 895001620b

View file

@ -262,7 +262,7 @@ public class OsmBaseStorage {
if (parser.getAttributeName(parser.getAttributeCount() - 1).equals(ATTR_VERSION)) { if (parser.getAttributeName(parser.getAttributeCount() - 1).equals(ATTR_VERSION)) {
return Integer.valueOf(parser.getAttributeValue(parser.getAttributeCount() - 1)); return Integer.valueOf(parser.getAttributeValue(parser.getAttributeCount() - 1));
} }
return -1; return 0;
} }
public void endElement(XmlPullParser parser, String name) { public void endElement(XmlPullParser parser, String name) {