mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
isNotEmpty修改规则,避开IDEA错误提示
This commit is contained in:
parent
07d3f26ceb
commit
cd310a2bca
@ -14,6 +14,7 @@
|
||||
* 【core 】 新增JdkUtil
|
||||
* 【core 】 DateUtil.getZodiac增加越界检查(issue#3036@Github)
|
||||
* 【core 】 CsvReader修改策略,添加可选是否关闭Reader重载,默认不关闭Reader(issue#I6UAX1@Gitee)
|
||||
* 【core 】 isNotEmpty修改规则,避开IDEA错误提示(issue#I6UBMA@Gitee)
|
||||
|
||||
### 🐞Bug修复
|
||||
* 【core 】 CollUtil.split优化切割列表参数判断,避免OOM(pr#3026@Github)
|
||||
|
@ -126,7 +126,7 @@ public class CharSequenceUtil {
|
||||
* @see #isBlank(CharSequence)
|
||||
*/
|
||||
public static boolean isNotBlank(CharSequence str) {
|
||||
return false == isBlank(str);
|
||||
return !isBlank(str);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -252,7 +252,7 @@ public class CharSequenceUtil {
|
||||
* @see #isEmpty(CharSequence)
|
||||
*/
|
||||
public static boolean isNotEmpty(CharSequence str) {
|
||||
return false == isEmpty(str);
|
||||
return !isEmpty(str);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -104,7 +104,7 @@ public class ArrayUtil extends PrimitiveArrayUtil {
|
||||
* @return 是否为非空
|
||||
*/
|
||||
public static boolean isNotEmpty(Object array) {
|
||||
return false == isEmpty(array);
|
||||
return !isEmpty(array);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user