修复一个判空问题
This commit is contained in:
parent
9c117e2752
commit
b56a0bcce4
@ -20,6 +20,9 @@ public class UiConversationCodeUtil {
|
|||||||
|
|
||||||
|
|
||||||
public static boolean checkIsSame(List<BaseUiConversation> list1, List<BaseUiConversation> list2) {
|
public static boolean checkIsSame(List<BaseUiConversation> list1, List<BaseUiConversation> list2) {
|
||||||
|
if (list1.isEmpty()){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (list1.size() != list2.size()) return false;
|
if (list1.size() != list2.size()) return false;
|
||||||
int hashCode1 = getListHasCode(list1);
|
int hashCode1 = getListHasCode(list1);
|
||||||
int hashCode2 = getListHasCode(list2);
|
int hashCode2 = getListHasCode(list2);
|
||||||
|
Loading…
Reference in New Issue
Block a user