Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2017-06-24 13:49:09 +02:00
commit 34c2128120

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) {