Changeset 13158 in josm
- Timestamp:
- 2017-11-25T02:31:32+01:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
r13123 r13158 429 429 * @param selection The list of currently selected primitives 430 430 * @return the result from the split operation 431 * @deprecated to be removed end of 2017. Use {@link #splitWay(Way, List, Collection)} instead431 * @deprecated to be removed end of 2017. Use {@link SplitWayCommand#splitWay} instead 432 432 */ 433 433 @Deprecated … … 450 450 * @return the result from the split operation 451 451 * @since 12718 452 * @deprecated to be removed end of 2017. Use {@link #splitWay(Way, List, Collection)} instead452 * @deprecated to be removed end of 2017. Use {@link SplitWayCommand#splitWay} instead 453 453 */ 454 454 @Deprecated … … 475 475 * @return the result from the split operation 476 476 * @since 8954 477 * @deprecated to be removed end of 2017. Use {@link #splitWay(Way, List, Collection, Strategy)} instead477 * @deprecated to be removed end of 2017. Use {@link SplitWayCommand#splitWay} instead 478 478 */ 479 479 @Deprecated … … 534 534 * @param selection The list of currently selected primitives 535 535 * @return the result from the split operation 536 * @deprecated to be removed end of 2017. Use {@link #split(Way, List, Collection)} instead536 * @deprecated to be removed end of 2017. Use {@link SplitWayCommand#split} instead 537 537 */ 538 538 @Deprecated … … 556 556 * @return the result from the split operation 557 557 * @since 12718 558 * @deprecated to be removed end of 2017. Use {@link #splitWay(Way, List, Collection)} instead558 * @deprecated to be removed end of 2017. Use {@link SplitWayCommand#split} instead 559 559 */ 560 560 @Deprecated -
trunk/src/org/openstreetmap/josm/command/Command.java
r12809 r13158 45 45 46 46 private static final class CloneVisitor implements OsmPrimitiveVisitor { 47 publicfinal Map<OsmPrimitive, PrimitiveData> orig = new LinkedHashMap<>();47 final Map<OsmPrimitive, PrimitiveData> orig = new LinkedHashMap<>(); 48 48 49 49 @Override -
trunk/src/org/openstreetmap/josm/command/conflict/WayNodesConflictResolverCommand.java
r12726 r13158 31 31 32 32 /** 33 * Constructs a new {@code WayNodesConflictResolverCommand}. 33 34 * @param conflict the conflict data set 34 35 * @param mergedNodeList the list of merged nodes -
trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java
r12537 r13158 190 190 } 191 191 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 */ 192 198 public static List<Way> irreversibleWays(List<Way> ways) { 193 199 List<Way> newWays = new ArrayList<>(ways); … … 200 206 } 201 207 208 /** 209 * Inverts sign of a numeric value. 210 * @param value numeric value 211 * @return opposite numeric value 212 */ 202 213 public static String invertNumber(String value) { 203 214 Pattern pattern = Pattern.compile("^([+-]?)(\\d.*)$", Pattern.CASE_INSENSITIVE); -
trunk/src/org/openstreetmap/josm/corrector/TagCorrector.java
r12663 r13158 43 43 * 44 44 * Subclasses call applyCorrections() with maps of the requested 45 * corrections and a dialog is p esented to the user to45 * corrections and a dialog is presented to the user to 46 46 * confirm these changes. 47 47 * @param <P> The type of OSM primitive to correct … … 49 49 public abstract class TagCorrector<P extends OsmPrimitive> { 50 50 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 */ 51 59 public abstract Collection<Command> execute(P oldprimitive, P primitive) throws UserCancelException; 52 60
Note:
See TracChangeset
for help on using the changeset viewer.