mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Locale system changes to better mimic Sun's VM.
This commit is contained in:
@ -11,12 +11,18 @@
|
||||
package java.util;
|
||||
|
||||
public class Locale {
|
||||
public static final Locale ENGLISH = new Locale("en", "us");
|
||||
private static final Locale DEFAULT;
|
||||
public static final Locale ENGLISH = new Locale("en", "");
|
||||
|
||||
private final String language;
|
||||
private final String country;
|
||||
private final String variant;
|
||||
|
||||
static {
|
||||
DEFAULT = new Locale(System.getProperty("user.language"),
|
||||
System.getProperty("user.region"));
|
||||
}
|
||||
|
||||
public Locale(String language, String country, String variant) {
|
||||
this.language = language;
|
||||
this.country = country;
|
||||
@ -44,6 +50,6 @@ public class Locale {
|
||||
}
|
||||
|
||||
public static Locale getDefault() {
|
||||
return ENGLISH;
|
||||
return DEFAULT;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user