mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-09 16:49:36 +00:00
Before this commit, `second.remove(o)` was called no matter whether `first.remove(o)` returned `true` or `false`. If the element was present in both collections, it was removed from both, which violates the `Collection.remove(Object)` contract of removing a single instance. Closes gh-37332 Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>