Ignore:
Timestamp:
2017-11-25T02:31:32+01:00 (8 years ago)
Author:
Don-vip
Message:

javadoc

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java

    r12537 r13158  
    190190    }
    191191
     192    /**
     193     * Returns the subset of irreversible ways.
     194     * @param ways all ways
     195     * @return the subset of irreversible ways
     196     * @see #isReversible(Way)
     197     */
    192198    public static List<Way> irreversibleWays(List<Way> ways) {
    193199        List<Way> newWays = new ArrayList<>(ways);
     
    200206    }
    201207
     208    /**
     209     * Inverts sign of a numeric value.
     210     * @param value numeric value
     211     * @return opposite numeric value
     212     */
    202213    public static String invertNumber(String value) {
    203214        Pattern pattern = Pattern.compile("^([+-]?)(\\d.*)$", Pattern.CASE_INSENSITIVE);
  • trunk/src/org/openstreetmap/josm/corrector/TagCorrector.java

    r12663 r13158  
    4343 *
    4444 * Subclasses call applyCorrections() with maps of the requested
    45  * corrections and a dialog is pesented to the user to
     45 * corrections and a dialog is presented to the user to
    4646 * confirm these changes.
    4747 * @param <P> The type of OSM primitive to correct
     
    4949public abstract class TagCorrector<P extends OsmPrimitive> {
    5050
     51    /**
     52     * Executes the tag correction.
     53     * @param oldprimitive old primitive
     54     * @param primitive new primitive
     55     * @return A list of commands
     56     * @throws UserCancelException If the user canceled
     57     * @see #applyCorrections(DataSet, Map, Map, String)
     58     */
    5159    public abstract Collection<Command> execute(P oldprimitive, P primitive) throws UserCancelException;
    5260
Note: See TracChangeset for help on using the changeset viewer.