[Project] Use Locale.toLanguageTag() instead of toString() in RuntimeConfiguration constructor
This commit is contained in:
parent
147fd92b11
commit
d3dd56656f
|
@ -66,7 +66,7 @@ public class RuntimeConfiguration extends AbstractionConfiguration {
|
||||||
this.dataPath = dataPathF;
|
this.dataPath = dataPathF;
|
||||||
this.tempPath = tempPathF;
|
this.tempPath = tempPathF;
|
||||||
|
|
||||||
this.locale = new Locale(getString(PROP_LOCALE, Locale.getDefault().toString()));
|
this.locale = new Locale(getString(PROP_LOCALE, Locale.getDefault().toLanguageTag()));
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getApplicationName() {
|
public String getApplicationName() {
|
||||||
|
|
Loading…
Reference in New Issue