Don't need to toLowerCase filter.

This commit is contained in:
Ben Woo 2021-07-16 21:38:57 +08:00 committed by GitHub
parent 5d3d732c25
commit 473ccd09d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ public abstract class PaginatedCommand<T> extends Command {
* @return String with regex characters escaped
*/
protected String cleanFilter(String filter) {
return REGEX_SPECIAL_CHARS.matcher(filter.toLowerCase()).replaceAll("\\\\$0");
return REGEX_SPECIAL_CHARS.matcher(filter).replaceAll("\\\\$0");
}
/**