mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-07 06:08:00 +08:00
add method
This commit is contained in:
parent
b3a0b023d3
commit
232c292dfc
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
### 新特性
|
### 新特性
|
||||||
* 【socket】 对NioServer和NioClient改造(pr#992@Github)
|
* 【socket】 对NioServer和NioClient改造(pr#992@Github)
|
||||||
|
* 【core 】 StrUtil增加filter方法(pr#149@Gitee)
|
||||||
|
|
||||||
### Bug修复#
|
### Bug修复#
|
||||||
|
|
||||||
|
@ -1333,7 +1333,7 @@ public class StrUtil {
|
|||||||
* @return 清理后的字符串
|
* @return 清理后的字符串
|
||||||
*/
|
*/
|
||||||
public static String cleanBlank(CharSequence str) {
|
public static String cleanBlank(CharSequence str) {
|
||||||
return filter(str, c -> !CharUtil.isBlankChar(c));
|
return filter(str, c -> false == CharUtil.isBlankChar(c));
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------ Split
|
// ------------------------------------------------------------------------------ Split
|
||||||
|
Loading…
Reference in New Issue
Block a user