[ML] Don't use default locale.
Original commit: elastic/x-pack-elasticsearch@f1e5016008
This commit is contained in:
parent
4f5b3dfea3
commit
dd91ac0cd3
|
@ -21,8 +21,7 @@ public final class DomainSplitFunction {
|
||||||
|
|
||||||
static {
|
static {
|
||||||
Map<String, Object> paramsMap = new HashMap<>();
|
Map<String, Object> paramsMap = new HashMap<>();
|
||||||
|
ResourceBundle resource = ResourceBundle.getBundle("org/elasticsearch/xpack/ml/transforms/exact", Locale.ROOT);
|
||||||
ResourceBundle resource = ResourceBundle.getBundle("org/elasticsearch/xpack/ml/transforms/exact", Locale.getDefault());
|
|
||||||
Enumeration<String> keys = resource.getKeys();
|
Enumeration<String> keys = resource.getKeys();
|
||||||
Map<String, String> exact = new HashMap<>(2048);
|
Map<String, String> exact = new HashMap<>(2048);
|
||||||
while (keys.hasMoreElements()) {
|
while (keys.hasMoreElements()) {
|
||||||
|
|
Loading…
Reference in New Issue