Changeset 9296 in josm for trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java
- Timestamp:
- 2016-01-04T01:06:23+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java
r8923 r9296 2 2 package org.openstreetmap.josm.tools; 3 3 4 import static org.openstreetmap.josm.tools.I18n.marktr; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 6 … … 366 367 Main.info("Copying old preferences file to new location"); 367 368 Utils.copyFile(oldPref, newPref); 368 if (!oldPref.delete()) { 369 Main.warn("Unable to delete old preferences file: "+oldPref.getPath()); 370 } 369 Utils.deleteFile(oldPref, marktr("Unable to delete old preferences file {0}")); 371 370 } catch (IOException e) { 372 371 Main.error(e);
Note:
See TracChangeset
for help on using the changeset viewer.