mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
Merge pull request #915 from hitfire/v5-dev
CollUtil.subtractToList bug fix
This commit is contained in:
commit
373e335015
@ -345,7 +345,7 @@ public class CollUtil {
|
||||
return ListUtil.empty();
|
||||
}
|
||||
if (isEmpty(coll2)) {
|
||||
return ListUtil.list(true, coll2);
|
||||
return ListUtil.list(true, coll1);
|
||||
}
|
||||
|
||||
//将被交数用链表储存,防止因为频繁扩容影响性能
|
||||
|
Loading…
x
Reference in New Issue
Block a user