Changeset 13852 in josm for trunk/src/org/openstreetmap/josm/gui/layer/AutosaveTask.java
- Timestamp:
- 2018-05-26T20:11:44+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/AutosaveTask.java
r13654 r13852 22 22 import java.util.LinkedList; 23 23 import java.util.List; 24 import java.util.Locale; 24 25 import java.util.Set; 25 26 import java.util.Timer; … … 197 198 int index = startIndex; 198 199 while (true) { 199 String filename = String.format( "%1$s_%2$tY%2$tm%2$td_%2$tH%2$tM%2$tS%2$tL%3$s",200 String filename = String.format(Locale.ENGLISH, "%1$s_%2$tY%2$tm%2$td_%2$tH%2$tM%2$tS%2$tL%3$s", 200 201 layer.layerFileName, now, index == 0 ? "" : ('_' + Integer.toString(index))); 201 202 File result = new File(autosaveDir, filename + '.' +
Note:
See TracChangeset
for help on using the changeset viewer.