Changeset 1561 in josm
- Timestamp:
- 2009-04-28T00:49:48+02:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/conflict
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/conflict/DeleteConflict.java
r1169 r1561 22 22 @Override public void apply(OsmPrimitive target, OsmPrimitive other) { 23 23 target.deleted = other.deleted; 24 target.version = Math.max(target.version, other.version); 24 25 } 25 26 } -
trunk/src/org/openstreetmap/josm/data/conflict/PositionConflict.java
r1169 r1561 25 25 ((Node)target).coor = ((Node)other).coor; 26 26 ((Node)target).eastNorth = ((Node)other).eastNorth; 27 target.version = Math.max(target.version, other.version); 27 28 } 28 29 } -
trunk/src/org/openstreetmap/josm/data/conflict/PropertyConflict.java
r1169 r1561 28 28 @Override public void apply(OsmPrimitive target, OsmPrimitive other) { 29 29 target.put(key, other.get(key)); 30 target.version = Math.max(target.version, other.version); 30 31 } 31 32 }
Note:
See TracChangeset
for help on using the changeset viewer.