Files
spring-framework/spring-core
Yanming Zhou f5a7123044 Honor Collection.remove() contract in CompositeCollection
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>
2026-10-02 16:26:53 +02:00
..