- Timestamp:
- 2007-12-18T01:04:35+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/MergeVisitor.java
r490 r496 230 230 231 231 for (P my : primitives) { 232 Date myd = my.timestamp == null ? new Date(0) : my.getTimestamp();233 Date otherd = other.timestamp == null ? new Date(0) : other.getTimestamp();234 232 if (my.realEqual(other, false)) { 235 233 merged.put(other, my); … … 237 235 } 238 236 if (my.realEqual(other, true)) { 237 Date myd = my.timestamp == null ? new Date(0) : my.getTimestamp(); 238 Date otherd = other.timestamp == null ? new Date(0) : other.getTimestamp(); 239 239 240 // they differ in modified/timestamp combination only. Auto-resolve it. 240 241 merged.put(other, my); … … 246 247 } 247 248 if (my.id == other.id && my.id != 0) { 249 Date myd = my.timestamp == null ? new Date(0) : my.getTimestamp(); 250 Date otherd = other.timestamp == null ? new Date(0) : other.getTimestamp(); 251 248 252 if (my.incomplete || other.incomplete) { 249 253 if (my.incomplete) {
Note:
See TracChangeset
for help on using the changeset viewer.