mirror of https://github.com/apache/lucene.git
SOLR-13667: Fix precommit
This commit is contained in:
parent
669b2fb0e2
commit
c69548d39f
|
@ -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