Changeset 633 in josm for trunk/src/org/openstreetmap/josm/io/OsmReader.java
- Timestamp:
- 2008-05-12T10:14:29+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmReader.java
r627 r633 85 85 osm.user = user; 86 86 osm.visible = visible; 87 osm.version = version; 87 88 osm.checkTagged(); 88 89 osm.checkDirectionTagged(); … … 249 250 if (visible != null) { 250 251 current.visible = Boolean.parseBoolean(visible); 252 } 253 254 // oldversion attribute added in 0.6 API 255 256 // Note there is an asymmetry here: the server will send 257 // the version as "version" the client sends it as 258 // "oldversion". So we take both since which we receive will 259 // depend on reading from a file or reading from the server 260 261 String version = atts.getValue("version"); 262 if (version != null) { 263 current.version = Integer.parseInt(version); 264 } 265 version = atts.getValue("old_version"); 266 if (version != null) { 267 current.version = Integer.parseInt(version); 251 268 } 252 269
Note:
See TracChangeset
for help on using the changeset viewer.