Changeset 3034 in josm for trunk/src/org/openstreetmap/josm/command/CoordinateConflictResolveCommand.java
- Timestamp:
- 2010-02-23T08:58:12+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/CoordinateConflictResolveCommand.java
r2512 r3034 23 23 24 24 /** the conflict to resolve */ 25 private Conflict< Node> conflict;25 private Conflict<? extends OsmPrimitive> conflict; 26 26 27 27 /** the merge decision */ … … 35 35 * @param decision the merge decision 36 36 */ 37 public CoordinateConflictResolveCommand( Node my, Node their, MergeDecisionType decision) {38 this.conflict = new Conflict<Node>(my,their);37 public CoordinateConflictResolveCommand(Conflict<? extends OsmPrimitive> conflict, MergeDecisionType decision) { 38 this.conflict = conflict; 39 39 this.decision = decision; 40 40 } … … 61 61 // do nothing 62 62 } else if (decision.equals(MergeDecisionType.KEEP_THEIR)) { 63 Node my = conflict.getMy(); 64 Node their = conflict.getTheir(); 63 Node my = (Node)conflict.getMy(); 64 Node their = (Node)conflict.getTheir(); 65 65 my.setCoor(their.getCoor()); 66 66 } else
Note:
See TracChangeset
for help on using the changeset viewer.
