Changeset 9586 in josm for trunk/src/org
- Timestamp:
- 2016-01-23T16:38:49+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/AutosaveTask.java
r9296 r9586 159 159 String filename = String.format("%1$s_%2$tY%2$tm%2$td_%2$tH%2$tM%2$tS%2$tL%3$s", 160 160 layer.layerFileName, now, index == 0 ? "" : '_' + index); 161 File result = new File(autosaveDir, filename +".osm");161 File result = new File(autosaveDir, filename + "." + Main.pref.get("autosave.extension", "osm")); 162 162 try { 163 163 if (result.createNewFile()) {
Note:
See TracChangeset
for help on using the changeset viewer.