mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
isNotEmpty修改规则,避开IDEA错误提示
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user