commons-collections
commons-collections copied to clipboard
COLLECTIONS-770 When creating an iterator chain containing other iterator chains flatten the resulting internal object.
Contributed on behalf of the @opencastsoftware open source team
I am slightly wary of opening up UnmodifiableIterator, but this seems to solve the performance degradation of nested IteratorChains seen in COLLECTIONS-770
Codecov Report
Merging #308 (2257274) into master (1677dac) will increase coverage by
0.01%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #308 +/- ##
============================================
+ Coverage 85.87% 85.88% +0.01%
- Complexity 4676 4683 +7
============================================
Files 292 292
Lines 13469 13482 +13
Branches 1955 1959 +4
============================================
+ Hits 11566 11579 +13
Misses 1326 1326
Partials 577 577
Impacted Files | Coverage Δ | |
---|---|---|
.../commons/collections4/iterators/IteratorChain.java | 88.88% <100.00%> (+2.61%) |
:arrow_up: |
...s/collections4/iterators/UnmodifiableIterator.java | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 1677dac...2257274. Read the comment docs.