Changeset 5996 in josm for trunk/src/org/openstreetmap/josm/io/OsmReader.java
- Timestamp:
- 2013-06-08T12:51:41+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmReader.java
r5881 r5996 320 320 321 321 private void parseChangeset(Long uploadChangesetId) throws XMLStreamException { 322 long id = getLong("id"); 323 324 if (id == uploadChangesetId) { 325 uploadChangeset = new Changeset((int) getLong("id")); 322 323 Long id = null; 324 if (parser.getAttributeValue(null, "id") != null) { 325 id = getLong("id"); 326 } 327 // Read changeset info if neither upload-changeset nor id are set, or if they are both set to the same value 328 if (id == uploadChangesetId || (id != null && id.equals(uploadChangesetId))) { 329 uploadChangeset = new Changeset(id != null ? id.intValue() : 0); 326 330 while (true) { 327 331 int event = parser.next();
Note:
See TracChangeset
for help on using the changeset viewer.