Changeset 13158 in josm


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

javadoc

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java

    r13123 r13158  
    429429     * @param selection The list of currently selected primitives
    430430     * @return the result from the split operation
    431      * @deprecated to be removed end of 2017. Use {@link #splitWay(Way, List, Collection)} instead
     431     * @deprecated to be removed end of 2017. Use {@link SplitWayCommand#splitWay} instead
    432432     */
    433433    @Deprecated
     
    450450     * @return the result from the split operation
    451451     * @since 12718
    452      * @deprecated to be removed end of 2017. Use {@link #splitWay(Way, List, Collection)} instead
     452     * @deprecated to be removed end of 2017. Use {@link SplitWayCommand#splitWay} instead
    453453     */
    454454    @Deprecated
     
    475475     * @return the result from the split operation
    476476     * @since 8954
    477      * @deprecated to be removed end of 2017. Use {@link #splitWay(Way, List, Collection, Strategy)} instead
     477     * @deprecated to be removed end of 2017. Use {@link SplitWayCommand#splitWay} instead
    478478     */
    479479    @Deprecated
     
    534534     * @param selection The list of currently selected primitives
    535535     * @return the result from the split operation
    536      * @deprecated to be removed end of 2017. Use {@link #split(Way, List, Collection)} instead
     536     * @deprecated to be removed end of 2017. Use {@link SplitWayCommand#split} instead
    537537     */
    538538    @Deprecated
     
    556556     * @return the result from the split operation
    557557     * @since 12718
    558      * @deprecated to be removed end of 2017. Use {@link #splitWay(Way, List, Collection)} instead
     558     * @deprecated to be removed end of 2017. Use {@link SplitWayCommand#split} instead
    559559     */
    560560    @Deprecated
  • trunk/src/org/openstreetmap/josm/command/Command.java

    r12809 r13158  
    4545
    4646    private static final class CloneVisitor implements OsmPrimitiveVisitor {
    47         public final Map<OsmPrimitive, PrimitiveData> orig = new LinkedHashMap<>();
     47        final Map<OsmPrimitive, PrimitiveData> orig = new LinkedHashMap<>();
    4848
    4949        @Override
  • trunk/src/org/openstreetmap/josm/command/conflict/WayNodesConflictResolverCommand.java

    r12726 r13158  
    3131
    3232    /**
     33     * Constructs a new {@code WayNodesConflictResolverCommand}.
    3334     * @param conflict the conflict data set
    3435     * @param mergedNodeList the list of merged nodes
  • 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.