This commit is contained in:
lixiaohua 2020-08-01 22:19:40 +08:00
parent 482bc4e56e
commit e2b900ad82

View File

@ -4321,7 +4321,7 @@ public class StrUtil {
* @return 过滤后的字符串 * @return 过滤后的字符串
* @since 5.4.0 * @since 5.4.0
*/ */
public static String filter(CharSequence str, Filter<Character> filter) { public static String filter(CharSequence str, final Filter<Character> filter) {
if (str == null || filter == null) { if (str == null || filter == null) {
return str(str); return str(str);
} }