SOLR-13667: Fix precommit

This commit is contained in:
Joel Bernstein 2019-08-02 15:48:55 -04:00
parent 03a39666c0
commit ee0fd49244
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ public class LowerEvaluator extends RecursiveObjectEvaluator implements OneValue
return ((List<?>)value).stream().map(innerValue -> doWork(innerValue)).collect(Collectors.toList()); return ((List<?>)value).stream().map(innerValue -> doWork(innerValue)).collect(Collectors.toList());
} }
else{ else{
return value.toString().toLowerCase(); return value.toString().toLowerCase(Locale.getDefault());
} }
} }
} }

View File

@ -44,7 +44,7 @@ public class UpperEvaluator extends RecursiveObjectEvaluator implements OneValue
return ((List<?>)value).stream().map(innerValue -> doWork(innerValue)).collect(Collectors.toList()); return ((List<?>)value).stream().map(innerValue -> doWork(innerValue)).collect(Collectors.toList());
} }
else{ else{
return value.toString().toUpperCase(); return value.toString().toUpperCase(Locale.getDefault());
} }
} }
} }