Ignore:
Timestamp:
2013-10-27T02:53:37+02:00 (7 years ago)
Author:
Don-vip
Message:

fix #9217 - tagchecker: allow auto-fix for single test/alternative

File:
1 edited

Legend:

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

    r6009 r6329  
    1717
    1818/**
    19  * Command that replaces the key of several objects
     19 * Command that replaces the key of one or several objects
    2020 *
    2121 */
     
    3535
    3636    /**
    37      * Constructor
     37     * Constructs a new {@code ChangePropertyKeyCommand}.
     38     *
     39     * @param object the object subject to change replacement
     40     * @param key The key to replace
     41     * @param newKey the new value of the key
     42     * @since 6329
     43     */
     44    public ChangePropertyKeyCommand(OsmPrimitive object, String key, String newKey) {
     45        this(Collections.singleton(object), key, newKey);
     46    }
     47   
     48    /**
     49     * Constructs a new {@code ChangePropertyKeyCommand}.
    3850     *
    3951     * @param objects all objects subject to change replacement
Note: See TracChangeset for help on using the changeset viewer.