Fixed version not being added to way/node
This commit is contained in:
parent
e2cc3ddebb
commit
dcc3808d78
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue