From f898f031925ce81a1bb750ee0017fd49b7c638c2 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sat, 19 Oct 2024 11:19:26 -0400 Subject: [PATCH] Whitespace --- .../commons/collections4/iterators/LazyIteratorChain.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/iterators/LazyIteratorChain.java b/src/main/java/org/apache/commons/collections4/iterators/LazyIteratorChain.java index 4e8a3075b..3b9b8b842 100644 --- a/src/main/java/org/apache/commons/collections4/iterators/LazyIteratorChain.java +++ b/src/main/java/org/apache/commons/collections4/iterators/LazyIteratorChain.java @@ -76,7 +76,6 @@ public abstract class LazyIteratorChain implements Iterator { public boolean hasNext() { updateCurrentIterator(); lastUsedIterator = currentIterator; - return currentIterator.hasNext(); } @@ -90,7 +89,6 @@ public abstract class LazyIteratorChain implements Iterator { public E next() { updateCurrentIterator(); lastUsedIterator = currentIterator; - return currentIterator.next(); } @@ -141,7 +139,6 @@ public abstract class LazyIteratorChain implements Iterator { // before calling hasNext() or next() (although they shouldn't) lastUsedIterator = currentIterator; } - while (!currentIterator.hasNext() && !chainExhausted) { final Iterator nextIterator = nextIterator(++callCounter); if (nextIterator != null) {