rootvector2 commented on PR #729: URL: https://github.com/apache/commons-collections/pull/729#issuecomment-5479791464
I swept every `remove()` in the iterators package before opening this. The other adapters that track a last-returned element (`EntrySetMapIterator`, `ZippingIterator`, `ObjectGraphIterator`, `IteratorChain`) all null it out after removing, and `CollatingIterator`/`LazyIteratorChain`/`ListIteratorWrapper` delegate to a child iterator whose own state check throws on a repeat call. `EnumerationIterator` was the only one removing by value from the collection without clearing its state, so I believe this was the sole offender. Thanks for merging. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
