Changeset 1701 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2009-06-27T02:14:00+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/MergeVisitor.java
r1699 r1701 110 110 } 111 111 if (my.hasEqualSemanticAttributes(other)) { 112 // copy the technical attributes from their 113 // version 114 if (other.deleted) { 115 myDataSet.unlinkReferencesToPrimitive(my); 116 my.delete(true); 112 if (my.deleted != other.deleted) { 113 // differences in deleted state have to be merged manually 114 // 115 conflicts.put(my, other); 116 } else { 117 // copy the technical attributes from other 118 // version 119 my.visible = other.visible; 120 my.user = other.user; 121 my.setTimestamp(other.getTimestamp()); 122 my.modified = other.modified; 123 merged.put(other, my); 117 124 } 118 my.visible = other.visible;119 my.user = other.user;120 my.setTimestamp(other.getTimestamp());121 my.modified = other.modified;122 merged.put(other, my);123 125 return; 124 126 }
Note:
See TracChangeset
for help on using the changeset viewer.