mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-02 11:49:07 +08:00
CollUtil.subtractToList bug fix
This commit is contained in:
parent
94335d176b
commit
d03e3b5b94
@ -345,7 +345,7 @@ public class CollUtil {
|
||||
return ListUtil.empty();
|
||||
}
|
||||
if (isEmpty(coll2)) {
|
||||
return ListUtil.list(true, coll2);
|
||||
return ListUtil.list(true, coll1);
|
||||
}
|
||||
|
||||
//将被交数用链表储存,防止因为频繁扩容影响性能
|
||||
|
Loading…
Reference in New Issue
Block a user