mirror of https://github.com/apache/lucene.git
fix locale violation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552334 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
25b53be6f9
commit
7808f7f44e
|
@ -152,7 +152,7 @@ public class SimpleQParserPlugin extends QParserPlugin {
|
|||
String[] operations = opParam.split(",");
|
||||
|
||||
for (String operation : operations) {
|
||||
Integer enabledOp = OPERATORS.get(operation.trim().toUpperCase(Locale.getDefault()));
|
||||
Integer enabledOp = OPERATORS.get(operation.trim().toUpperCase(Locale.ROOT));
|
||||
|
||||
if (enabledOp != null) {
|
||||
enabledOps |= enabledOp;
|
||||
|
|
Loading…
Reference in New Issue