add method

This commit is contained in:
Looly 2020-08-01 22:34:34 +08:00
parent b3a0b023d3
commit 232c292dfc
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
### 新特性
* 【socket】 对NioServer和NioClient改造pr#992@Github
* 【core 】 StrUtil增加filter方法pr#149@Gitee
### Bug修复#

View File

@ -1333,7 +1333,7 @@ public class StrUtil {
* @return 清理后的字符串
*/
public static String cleanBlank(CharSequence str) {
return filter(str, c -> !CharUtil.isBlankChar(c));
return filter(str, c -> false == CharUtil.isBlankChar(c));
}
// ------------------------------------------------------------------------------ Split