[ML] Don't use default locale.

Original commit: elastic/x-pack-elasticsearch@f1e5016008
This commit is contained in:
Martijn van Groningen 2017-03-21 13:28:11 +01:00
parent 4f5b3dfea3
commit dd91ac0cd3
1 changed files with 1 additions and 2 deletions

View File

@ -21,8 +21,7 @@ public final class DomainSplitFunction {
static {
Map<String, Object> paramsMap = new HashMap<>();
ResourceBundle resource = ResourceBundle.getBundle("org/elasticsearch/xpack/ml/transforms/exact", Locale.getDefault());
ResourceBundle resource = ResourceBundle.getBundle("org/elasticsearch/xpack/ml/transforms/exact", Locale.ROOT);
Enumeration<String> keys = resource.getKeys();
Map<String, String> exact = new HashMap<>(2048);
while (keys.hasMoreElements()) {