Changeset 12726 in josm for trunk/test/unit/org/openstreetmap/josm/TestUtils.java
- Timestamp:
- 2017-09-04T23:45:49+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/TestUtils.java
r12130 r12726 22 22 23 23 import org.openstreetmap.josm.command.Command; 24 import org.openstreetmap.josm.data.osm.DataSet; 24 25 import org.openstreetmap.josm.data.osm.Node; 25 26 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 257 258 /** 258 259 * Creates a new empty command. 260 * @param ds data set 259 261 * @return a new empty command 260 262 */ 261 public static Command newCommand( ) {262 return new Command( ) {263 public static Command newCommand(DataSet ds) { 264 return new Command(ds) { 263 265 @Override 264 266 public String getDescriptionText() {
Note:
See TracChangeset
for help on using the changeset viewer.