Changeset 17200 in josm for trunk/src/org
- Timestamp:
- 2020-10-14T15:51:24+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
r17188 r17200 23 23 24 24 import org.openstreetmap.josm.actions.corrector.ReverseWayTagCorrector; 25 import org.openstreetmap.josm.command.Change Command;25 import org.openstreetmap.josm.command.ChangeNodesCommand; 26 26 import org.openstreetmap.josm.command.Command; 27 27 import org.openstreetmap.josm.command.DeleteCommand; … … 186 186 // 187 187 Way targetWay = getTargetWay(ways); 188 Way modifiedTargetWay = new Way(targetWay);189 modifiedTargetWay.setNodes(path);190 188 191 189 final List<Command> resolution; … … 203 201 deletedWays.remove(targetWay); 204 202 205 cmds.add(new Change Command(dataSets.get(0), targetWay, modifiedTargetWay));203 cmds.add(new ChangeNodesCommand(dataSets.get(0), targetWay, path)); 206 204 cmds.addAll(reverseWayTagCommands); 207 205 cmds.addAll(resolution);
Note:
See TracChangeset
for help on using the changeset viewer.