Ignore:
Timestamp:
2011-04-09T14:10:52+02:00 (14 years ago)
Author:
akks
Message:

Utilsplugin2: Fixed some small issues in recent additions (shortcut mapping, LinkedHashSet->HashSet).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/IntersectedWaysAction.java

    r25814 r25817  
    88import java.awt.event.KeyEvent;
    99import java.util.Collection;
    10 import java.util.LinkedHashSet;
     10import java.util.HashSet;
    1111import java.util.Set;
    1212import javax.swing.JOptionPane;
     
    3232        Collection<OsmPrimitive> selection = getCurrentDataSet().getSelected();
    3333        Set<Node> selectedNodes = OsmPrimitive.getFilteredSet(selection, Node.class);
    34         Set<Way> activeWays = new LinkedHashSet<Way>();
     34        Set<Way> activeWays = new HashSet<Way>();
    3535
    3636        Set<Way> selectedWays = OsmPrimitive.getFilteredSet(getCurrentDataSet().getSelected(), Way.class);
     
    3838        // select ways attached to already selected ways
    3939        if (!selectedWays.isEmpty()) {
    40             Set<Way> newWays = new LinkedHashSet<Way>();
     40            Set<Way> newWays = new HashSet<Way>();
    4141            NodeWayUtils.addWaysIntersectingWays(
    4242                    getCurrentDataSet().getWays(),
Note: See TracChangeset for help on using the changeset viewer.