Skip to content

Commit 9d9f159

Browse files
committed
Use final
1 parent 8c9ab3d commit 9d9f159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/commons/collections4/iterators/IteratorChain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public void addIterator(final Iterator<? extends E> iterator) {
175175
// in case it is an IteratorChain, wrap every underlying iterators as unmodifiable
176176
// multiple rechainings would otherwise lead to exponential growing number of function calls
177177
// when the iteratorChain gets used.
178-
for (Iterator<? extends E> nestedIterator : ((IteratorChain<? extends E>) underlyingIterator).iteratorQueue) {
178+
for (final Iterator<? extends E> nestedIterator : ((IteratorChain<? extends E>) underlyingIterator).iteratorQueue) {
179179
iteratorQueue.add(UnmodifiableIterator.unmodifiableIterator(nestedIterator));
180180
}
181181
} else {

0 commit comments

Comments
 (0)