Changeset 13173 in josm for trunk/src/org/openstreetmap/josm/command/SelectCommand.java
- Timestamp:
- 2017-11-28T00:56:29+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/SelectCommand.java
r12726 r13173 24 24 /** the selection before applying the new selection */ 25 25 private Collection<OsmPrimitive> oldSelection; 26 27 /**28 * Constructs a new select command.29 * @param newSelection the primitives to select when executing the command.30 * @deprecated to be removed end of 2017. Use {@link #SelectCommand(DataSet, Collection)} instead31 */32 @Deprecated33 public SelectCommand(Collection<OsmPrimitive> newSelection) {34 if (newSelection == null || newSelection.isEmpty()) {35 this.newSelection = Collections.emptySet();36 } else {37 this.newSelection = new HashSet<>(newSelection);38 }39 }40 26 41 27 /**
Note:
See TracChangeset
for help on using the changeset viewer.