mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +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 是否为非空
|
||||
*/
|
||||
public static boolean isNotEmpty(Collection<?> collection) {
|
||||
return false == isEmpty(collection);
|
||||
return !isEmpty(collection);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user