Changeset 12751 in josm
- Timestamp:
- 2017-09-06T02:58:32+02:00 (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/TagInfoExtract.groovy
r11982 r12751 17 17 18 18 import org.openstreetmap.josm.Main 19 import org.openstreetmap.josm.actions.DeleteAction 20 import org.openstreetmap.josm.command.DeleteCommand 19 21 import org.openstreetmap.josm.data.Version 20 22 import org.openstreetmap.josm.data.coor.LatLon … … 384 386 tmpdir.toFile().deleteOnExit() 385 387 System.setProperty("josm.home", tmpdir.toString()) 388 DeleteCommand.setDeletionCallback(DeleteAction::checkAndConfirmOutlyingDelete) 386 389 Territories.initialize() 387 390 RightAndLefthandTraffic.initialize() -
trunk/test/unit/org/openstreetmap/josm/testutils/JOSMTestRules.java
r12750 r12751 15 15 import org.openstreetmap.josm.JOSMFixture; 16 16 import org.openstreetmap.josm.Main; 17 import org.openstreetmap.josm.actions.DeleteAction; 18 import org.openstreetmap.josm.command.DeleteCommand; 17 19 import org.openstreetmap.josm.data.UserIdentityManager; 18 20 import org.openstreetmap.josm.data.osm.User; … … 269 271 UserIdentityManager.getInstance().setAnonymous(); 270 272 User.clearUserMap(); 273 // Setup callbacks 274 DeleteCommand.setDeletionCallback(DeleteAction::checkAndConfirmOutlyingDelete); 271 275 272 276 // Set up i18n
Note:
See TracChangeset
for help on using the changeset viewer.