fix: ColUtil的isNotEmpty在idea中会推断空指针

This commit is contained in:
huahua 2023-04-11 08:40:39 +08:00
parent a97901f0e3
commit 5a73e06e2b

View File

@ -1741,7 +1741,7 @@ public class CollUtil {
* @return 是否为非空
*/
public static boolean isNotEmpty(Collection<?> collection) {
return false == isEmpty(collection);
return !isEmpty(collection);
}
/**