From e75f6553adad17dbee0f1e665532d99e3b5f8882 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 25 Aug 2024 16:22:25 -0400 Subject: [PATCH] Better instance variable name --- .../java/org/apache/commons/collections4/IterableUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/IterableUtils.java b/src/main/java/org/apache/commons/collections4/IterableUtils.java index 54ba8e6d0..4b3adadca 100644 --- a/src/main/java/org/apache/commons/collections4/IterableUtils.java +++ b/src/main/java/org/apache/commons/collections4/IterableUtils.java @@ -54,15 +54,15 @@ public class IterableUtils { * Inner class to distinguish unmodifiable instances. */ private static final class UnmodifiableIterable extends FluentIterable { - private final Iterable unmodifiable; + private final Iterable iterable; UnmodifiableIterable(final Iterable iterable) { - this.unmodifiable = iterable; + this.iterable = iterable; } @Override public Iterator iterator() { - return IteratorUtils.unmodifiableIterator(unmodifiable.iterator()); + return IteratorUtils.unmodifiableIterator(iterable.iterator()); } }