Ignore:
Timestamp:
2018-05-26T20:11:44+02:00 (6 years ago)
Author:
Don-vip
Message:

SonarQube - fix more code issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/AutosaveTask.java

    r13654 r13852  
    2222import java.util.LinkedList;
    2323import java.util.List;
     24import java.util.Locale;
    2425import java.util.Set;
    2526import java.util.Timer;
     
    197198        int index = startIndex;
    198199        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",
    200201                    layer.layerFileName, now, index == 0 ? "" : ('_' + Integer.toString(index)));
    201202            File result = new File(autosaveDir, filename + '.' +
Note: See TracChangeset for help on using the changeset viewer.