mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
!974 操作集合之前使用CollUtil.isNotEmpty判断,IDEA会报警告
Merge pull request !974 from 爱花花/v5-dev
This commit is contained in:
commit
07d3f26ceb
@ -1741,7 +1741,7 @@ public class CollUtil {
|
|||||||
* @return 是否为非空
|
* @return 是否为非空
|
||||||
*/
|
*/
|
||||||
public static boolean isNotEmpty(Collection<?> collection) {
|
public static boolean isNotEmpty(Collection<?> collection) {
|
||||||
return false == isEmpty(collection);
|
return !isEmpty(collection);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user