Ignore:
Timestamp:
2012-03-08T22:02:30+01:00 (12 years ago)
Author:
simon04
Message:

fix #7470 - tune warning of nodes out of downloaded bbox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/DuplicateNode.java

    r4874 r5060  
    77import java.util.ArrayList;
    88import java.util.Collection;
     9import java.util.Collections;
    910import java.util.HashMap;
    1011import java.util.Iterator;
     
    384385        }
    385386
    386         if (DeleteCommand.checkAndConfirmOutlyingDelete(Main.main.getCurrentDataSet().getDataSourceArea(), nodes, target))
     387        if (DeleteCommand.checkAndConfirmOutlyingDelete(Main.main.getCurrentDataSet().getDataSourceArea(), nodes, Collections.singleton(target)))
    387388            return MergeNodesAction.mergeNodes(Main.main.getEditLayer(), nodes, target);
    388389
Note: See TracChangeset for help on using the changeset viewer.