[Project] Use Locale.toLanguageTag() instead of toString() in RuntimeConfiguration constructor

This commit is contained in:
Robert von Burg 2019-07-11 11:46:10 +02:00
parent 147fd92b11
commit d3dd56656f
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public class RuntimeConfiguration extends AbstractionConfiguration {
this.dataPath = dataPathF;
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() {