Changeset 10970 in josm for trunk


Ignore:
Timestamp:
2016-09-07T00:00:53+02:00 (3 years ago)
Author:
Don-vip
Message:

see #13491 - remove unused parameter

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/Command.java

    r10948 r10970  
    253253     * Check whether user is about to operate on data outside of the download area.
    254254     *
    255      * @param operation the operation name which is used for setting some preferences
    256255     * @param primitives the primitives to operate on
    257256     * @param ignore {@code null} or a primitive to be ignored
    258257     * @return true, if operating on outlying primitives is OK; false, otherwise
    259258     */
    260     public static int checkOutlyingOrIncompleteOperation(String operation,
     259    public static int checkOutlyingOrIncompleteOperation(
    261260            Collection<? extends OsmPrimitive> primitives,
    262261            Collection<? extends OsmPrimitive> ignore) {
     
    289288            Collection<? extends OsmPrimitive> primitives,
    290289            Collection<? extends OsmPrimitive> ignore) {
    291         int checkRes = checkOutlyingOrIncompleteOperation(operation, primitives, ignore);
     290        int checkRes = checkOutlyingOrIncompleteOperation(primitives, ignore);
    292291        if ((checkRes & IS_OUTSIDE) != 0) {
    293292            JPanel msg = new JPanel(new GridBagLayout());
  • trunk/src/org/openstreetmap/josm/data/validation/tests/DuplicateNode.java

    r10948 r10970  
    407407            }
    408408
    409             if (Command.checkOutlyingOrIncompleteOperation("delete", nodes, Collections.singleton(target)) == Command.IS_OK)
     409            if (Command.checkOutlyingOrIncompleteOperation(nodes, Collections.singleton(target)) == Command.IS_OK)
    410410                return MergeNodesAction.mergeNodes(Main.getLayerManager().getEditLayer(), nodes, target);
    411411        }
Note: See TracChangeset for help on using the changeset viewer.