From b56a0bcce475706bb9dc689614790cea9c6eb0a6 Mon Sep 17 00:00:00 2001 From: ningwenqiang Date: Thu, 5 Sep 2024 15:00:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=B8=AA=E5=88=A4?= =?UTF-8?q?=E7=A9=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/common/utils/UiConversationCodeUtil.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/src/main/java/com/yunbao/common/utils/UiConversationCodeUtil.java b/common/src/main/java/com/yunbao/common/utils/UiConversationCodeUtil.java index 6662ceefb..a6f7220ed 100644 --- a/common/src/main/java/com/yunbao/common/utils/UiConversationCodeUtil.java +++ b/common/src/main/java/com/yunbao/common/utils/UiConversationCodeUtil.java @@ -20,6 +20,9 @@ public class UiConversationCodeUtil { public static boolean checkIsSame(List list1, List list2) { + if (list1.isEmpty()){ + return false; + } if (list1.size() != list2.size()) return false; int hashCode1 = getListHasCode(list1); int hashCode2 = getListHasCode(list2);