Merge pull request #915 from hitfire/v5-dev

CollUtil.subtractToList bug fix
This commit is contained in:
Golden Looly 2020-06-10 15:43:48 +08:00 committed by GitHub
commit 373e335015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -345,7 +345,7 @@ public class CollUtil {
return ListUtil.empty(); return ListUtil.empty();
} }
if (isEmpty(coll2)) { if (isEmpty(coll2)) {
return ListUtil.list(true, coll2); return ListUtil.list(true, coll1);
} }
//将被交数用链表储存防止因为频繁扩容影响性能 //将被交数用链表储存防止因为频繁扩容影响性能