Changeset 6814 in josm for trunk/src/org/openstreetmap/josm/actions/JoinNodeWayAction.java
- Timestamp:
- 2014-02-05T23:22:04+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/JoinNodeWayAction.java
r6380 r6814 27 27 28 28 public class JoinNodeWayAction extends JosmAction { 29 30 /** 31 * Constructs a new {@code JoinNodeWayAction}. 32 */ 29 33 public JoinNodeWayAction() { 30 34 super(tr("Join Node to Way"), "joinnodeway", tr("Include a node into the nearest way segments"), … … 53 57 HashMap<Way, List<Integer>> insertPoints = new HashMap<Way, List<Integer>>(); 54 58 for (WaySegment ws : wss) { 55 // Maybe cleaner to pass a "isSelected" predicate to getNearestWaySeg ements, but this is atm.less invasive.59 // Maybe cleaner to pass a "isSelected" predicate to getNearestWaySegments, but this is less invasive. 56 60 if(restrictToSelectedWays && !ws.way.isSelected()) { 57 61 continue;
Note:
See TracChangeset
for help on using the changeset viewer.