Changeset 11102 in josm for trunk/test/unit/org/openstreetmap/josm/TestUtils.java
- Timestamp:
- 2016-10-08T14:04:09+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/TestUtils.java
r10580 r11102 10 10 import java.io.InputStream; 11 11 import java.util.Arrays; 12 import java.util.Collection; 12 13 import java.util.Comparator; 13 14 15 import org.openstreetmap.josm.command.Command; 14 16 import org.openstreetmap.josm.data.osm.Node; 17 import org.openstreetmap.josm.data.osm.OsmPrimitive; 15 18 import org.openstreetmap.josm.data.osm.OsmUtils; 16 19 import org.openstreetmap.josm.data.osm.Relation; … … 245 248 return relation; 246 249 } 250 251 /** 252 * Creates a new empty command. 253 * @return a new empty command 254 */ 255 public static Command newCommand() { 256 return new Command() { 257 @Override 258 public String getDescriptionText() { 259 return ""; 260 } 261 262 @Override 263 public void fillModifiedData(Collection<OsmPrimitive> modified, Collection<OsmPrimitive> deleted, 264 Collection<OsmPrimitive> added) { 265 // Do nothing 266 } 267 }; 268 } 247 269 }
Note:
See TracChangeset
for help on using the changeset viewer.