Changeset 25817 in osm for applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/IntersectedWaysAction.java
- Timestamp:
- 2011-04-09T14:10:52+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/IntersectedWaysAction.java
r25814 r25817 8 8 import java.awt.event.KeyEvent; 9 9 import java.util.Collection; 10 import java.util. LinkedHashSet;10 import java.util.HashSet; 11 11 import java.util.Set; 12 12 import javax.swing.JOptionPane; … … 32 32 Collection<OsmPrimitive> selection = getCurrentDataSet().getSelected(); 33 33 Set<Node> selectedNodes = OsmPrimitive.getFilteredSet(selection, Node.class); 34 Set<Way> activeWays = new LinkedHashSet<Way>();34 Set<Way> activeWays = new HashSet<Way>(); 35 35 36 36 Set<Way> selectedWays = OsmPrimitive.getFilteredSet(getCurrentDataSet().getSelected(), Way.class); … … 38 38 // select ways attached to already selected ways 39 39 if (!selectedWays.isEmpty()) { 40 Set<Way> newWays = new LinkedHashSet<Way>();40 Set<Way> newWays = new HashSet<Way>(); 41 41 NodeWayUtils.addWaysIntersectingWays( 42 42 getCurrentDataSet().getWays(),
Note:
See TracChangeset
for help on using the changeset viewer.