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);