Changeset 3713 in josm for trunk/src/org/openstreetmap/josm/actions/JoinNodeWayAction.java
- Timestamp:
- 2010-12-11T17:59:16+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/JoinNodeWayAction.java
r3643 r3713 2 2 package org.openstreetmap.josm.actions; 3 3 4 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;6 6 7 7 import java.awt.event.ActionEvent; … … 12 12 import java.util.HashMap; 13 13 import java.util.HashSet; 14 import java.util.Iterator;15 14 import java.util.LinkedList; 16 15 import java.util.List; … … 43 42 44 43 for (OsmPrimitive osm : sel) { 45 if (!(osm instanceof Node)) continue; 44 if (!(osm instanceof Node)) { 45 continue; 46 } 46 47 Node node = (Node) osm; 47 48 … … 66 67 for (Map.Entry<Way, List<Integer>> insertPoint : insertPoints.entrySet()) { 67 68 List<Integer> is = insertPoint.getValue(); 68 if (is.size() == 0) 69 if (is.size() == 0) { 69 70 continue; 71 } 70 72 71 73 Way w = insertPoint.getKey();
Note:
See TracChangeset
for help on using the changeset viewer.