Changeset 12726 in josm for trunk/src/org/openstreetmap/josm/command/AddPrimitivesCommand.java
- Timestamp:
- 2017-09-04T23:45:49+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/AddPrimitivesCommand.java
r12718 r12726 39 39 * Constructs a new {@code AddPrimitivesCommand} to add data to the current edit layer. 40 40 * @param data The OSM primitives data to add. Must not be {@code null} 41 */ 41 * @deprecated to be removed end of 2017. Use {@link #AddPrimitivesCommand(List, DataSet)} instead 42 */ 43 @Deprecated 42 44 public AddPrimitivesCommand(List<PrimitiveData> data) { 43 45 this(data, data); … … 49 51 * @param toSelect The OSM primitives to select at the end. Can be {@code null} 50 52 * @since 5953 51 */ 53 * @deprecated to be removed end of 2017. Use {@link #AddPrimitivesCommand(List, List, DataSet)} instead 54 */ 55 @Deprecated 52 56 public AddPrimitivesCommand(List<PrimitiveData> data, List<PrimitiveData> toSelect) { 53 57 init(data, toSelect); … … 77 81 super(ds); 78 82 init(data, toSelect); 83 } 84 85 /** 86 * Constructs a new {@code AddPrimitivesCommand} to add data to the given data set. 87 * @param data The OSM primitives data to add and select. Must not be {@code null} 88 * @param ds The target data set. Must not be {@code null} 89 * @since 12726 90 */ 91 public AddPrimitivesCommand(List<PrimitiveData> data, DataSet ds) { 92 this(data, data, ds); 79 93 } 80 94
Note:
See TracChangeset
for help on using the changeset viewer.