From 5a73e06e2b29e05deb9ad55586b34da0a773ab21 Mon Sep 17 00:00:00 2001 From: huahua Date: Tue, 11 Apr 2023 08:40:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20ColUtil=E7=9A=84isNotEmpty=E5=9C=A8idea?= =?UTF-8?q?=E4=B8=AD=E4=BC=9A=E6=8E=A8=E6=96=AD=E7=A9=BA=E6=8C=87=E9=92=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/hutool/core/collection/CollUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hutool-core/src/main/java/cn/hutool/core/collection/CollUtil.java b/hutool-core/src/main/java/cn/hutool/core/collection/CollUtil.java index a9770f960..e6ef5f69d 100755 --- a/hutool-core/src/main/java/cn/hutool/core/collection/CollUtil.java +++ b/hutool-core/src/main/java/cn/hutool/core/collection/CollUtil.java @@ -1741,7 +1741,7 @@ public class CollUtil { * @return 是否为非空 */ public static boolean isNotEmpty(Collection collection) { - return false == isEmpty(collection); + return !isEmpty(collection); } /**