mirror of https://github.com/apache/lucene.git
SOLR-13667: Fix precommit
This commit is contained in:
parent
03a39666c0
commit
ee0fd49244
|
@ -44,7 +44,7 @@ public class LowerEvaluator extends RecursiveObjectEvaluator implements OneValue
|
|||
return ((List<?>)value).stream().map(innerValue -> doWork(innerValue)).collect(Collectors.toList());
|
||||
}
|
||||
else{
|
||||
return value.toString().toLowerCase();
|
||||
return value.toString().toLowerCase(Locale.getDefault());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ public class UpperEvaluator extends RecursiveObjectEvaluator implements OneValue
|
|||
return ((List<?>)value).stream().map(innerValue -> doWork(innerValue)).collect(Collectors.toList());
|
||||
}
|
||||
else{
|
||||
return value.toString().toUpperCase();
|
||||
return value.toString().toUpperCase(Locale.getDefault());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue