Changeset 18343 in osm for applications/editors/josm


Ignore:
Timestamp:
2009-10-28T21:03:55+01:00 (15 years ago)
Author:
skela
Message:

Fix the build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/DuplicateNode.java

    r18092 r18343  
    66import java.util.Collection;
    77import java.util.LinkedList;
     8import java.util.LinkedHashSet;
    89import java.util.List;
    910import java.util.Map;
     
    109110    {
    110111        Collection<OsmPrimitive> sel = new LinkedList<OsmPrimitive>(testError.getPrimitives());
    111         LinkedList<Node> nodes = new LinkedList<Node>(OsmPrimitive.getFilteredList(sel, Node.class));
     112        LinkedHashSet<Node> nodes = new LinkedHashSet<Node>(OsmPrimitive.getFilteredList(sel, Node.class));
    112113        Node target = MergeNodesAction.selectTargetNode(nodes);
    113114        if(checkAndConfirmOutlyingDeletes(nodes))
     
    127128     * Request confirmation if he is.
    128129     */
    129     private static boolean checkAndConfirmOutlyingDeletes(LinkedList<Node> del) {
     130    private static boolean checkAndConfirmOutlyingDeletes(LinkedHashSet<Node> del) {
    130131        Area a = Main.main.getCurrentDataSet().getDataSourceArea();
    131132        if (a != null) {
Note: See TracChangeset for help on using the changeset viewer.