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