Better instance variable name

This commit is contained in:
Gary Gregory 2024-08-25 16:22:25 -04:00
parent e542eca84a
commit e75f6553ad
1 changed files with 3 additions and 3 deletions

View File

@ -54,15 +54,15 @@ public class IterableUtils {
* Inner class to distinguish unmodifiable instances.
*/
private static final class UnmodifiableIterable<E> extends FluentIterable<E> {
private final Iterable<E> unmodifiable;
private final Iterable<E> iterable;
UnmodifiableIterable(final Iterable<E> iterable) {
this.unmodifiable = iterable;
this.iterable = iterable;
}
@Override
public Iterator<E> iterator() {
return IteratorUtils.unmodifiableIterator(unmodifiable.iterator());
return IteratorUtils.unmodifiableIterator(iterable.iterator());
}
}