Changeset 2410 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2009-11-08T15:19:50+01:00 (17 years ago)
- File:
-
- 1 edited
-
trunk/src/org/openstreetmap/josm/io/OsmReader.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmReader.java
r2398 r2410 92 92 93 93 public void copyTo(OsmPrimitive osm) { 94 // id < 0 possible if read from a file 95 if (id <= 0) { 96 osm.clearOsmId(); 97 } else { 94 // It's not necessary to call clearOsmId for id < 0. The same thing is done by parameterless constructor 95 if (id > 0) { 98 96 osm.setOsmId(id, version); 99 97 }
Note:
See TracChangeset
for help on using the changeset viewer.
