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:
Robert Muir 2013-12-19 16:20:22 +00:00
parent 25b53be6f9
commit 7808f7f44e
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ public class SimpleQParserPlugin extends QParserPlugin {
String[] operations = opParam.split(","); String[] operations = opParam.split(",");
for (String operation : operations) { 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) { if (enabledOp != null) {
enabledOps |= enabledOp; enabledOps |= enabledOp;