mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
fix: ColUtil的isNotEmpty在idea中会推断空指针
This commit is contained in:
parent
a97901f0e3
commit
5a73e06e2b
@ -1741,7 +1741,7 @@ public class CollUtil {
|
||||
* @return 是否为非空
|
||||
*/
|
||||
public static boolean isNotEmpty(Collection<?> collection) {
|
||||
return false == isEmpty(collection);
|
||||
return !isEmpty(collection);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user