Skip to content

Commit

Permalink
Merge pull request #402 from JayaShakthi97/fix-filter
Browse files Browse the repository at this point in the history
Add support for case-insensitive filter logical operators
  • Loading branch information
JayaShakthi97 authored Jul 2, 2024
2 parents 5e0de7a + 80c6009 commit ad4b215
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import java.util.regex.Pattern;

/**
Expand Down Expand Up @@ -115,7 +116,7 @@ public FilterTreeManager(String filterString, SCIMResourceTypeSchema schema) thr
tempTokenList.add(concatenatedString);
concatenatedString = "";
}
tempTokenList.add(decodedValue);
tempTokenList.add(decodedValue.toLowerCase(Locale.ENGLISH));
}
} else if (input.ttype == '\"' || input.ttype == '\'') {
concatenatedString += " " + input.sval;
Expand Down

0 comments on commit ad4b215

Please sign in to comment.