Changeset 1862 in josm for trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
- Timestamp:
- 2009-07-27T21:09:44+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
r1847 r1862 144 144 List<Node> nodeList = null; 145 145 Object firstTry = actuallyCombineWays(selectedWays, false); 146 if (firstTry instanceof List) { 146 if (firstTry instanceof List<?>) { 147 147 nodeList = (List<Node>) firstTry; 148 148 } else { 149 149 Object secondTry = actuallyCombineWays(selectedWays, true); 150 if (secondTry instanceof List) { 150 if (secondTry instanceof List<?>) { 151 151 int option = new ExtendedDialog(Main.parent, 152 152 tr("Change directions?"), … … 182 182 Way newWay = new Way(modifyWay); 183 183 184 newWay.nodes.clear(); 185 newWay.nodes.addAll(nodeList); 184 newWay.setNodes(nodeList); 186 185 187 186 // display conflict dialog
Note:
See TracChangeset
for help on using the changeset viewer.
