mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-03 20:27:58 +08:00
add method
This commit is contained in:
parent
b3a0b023d3
commit
232c292dfc
@ -7,6 +7,7 @@
|
||||
|
||||
### 新特性
|
||||
* 【socket】 对NioServer和NioClient改造(pr#992@Github)
|
||||
* 【core 】 StrUtil增加filter方法(pr#149@Gitee)
|
||||
|
||||
### Bug修复#
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user