commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1477614 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/iterators/ObjectGraphIterator.java
Date Tue, 30 Apr 2013 13:11:29 GMT
Author: sebb
Date: Tue Apr 30 13:11:28 2013
New Revision: 1477614

URL: http://svn.apache.org/r1477614
Log:
Fields can be private

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/iterators/ObjectGraphIterator.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/iterators/ObjectGraphIterator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/iterators/ObjectGraphIterator.java?rev=1477614&r1=1477613&r2=1477614&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/iterators/ObjectGraphIterator.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/iterators/ObjectGraphIterator.java
Tue Apr 30 13:11:28 2013
@@ -77,20 +77,20 @@ import org.apache.commons.collections4.T
 public class ObjectGraphIterator<E> implements Iterator<E> {
 
     /** The stack of iterators */
-    protected final ArrayStack<Iterator<? extends E>> stack = new ArrayStack<Iterator<?
extends E>>(8);
+    private final ArrayStack<Iterator<? extends E>> stack = new ArrayStack<Iterator<?
extends E>>(8);
     /** The root object in the tree */
-    protected E root;
+    private E root;
     /** The transformer to use */
-    protected final Transformer<? super E, ? extends E> transformer;
+    private final Transformer<? super E, ? extends E> transformer;
 
     /** Whether there is another element in the iteration */
-    protected boolean hasNext = false;
+    private boolean hasNext = false;
     /** The current iterator */
-    protected Iterator<? extends E> currentIterator;
+    private Iterator<? extends E> currentIterator;
     /** The current value */
-    protected E currentValue;
+    private E currentValue;
     /** The last used iterator, needed for remove() */
-    protected Iterator<? extends E> lastUsedIterator;
+    private Iterator<? extends E> lastUsedIterator;
 
     //-----------------------------------------------------------------------
     /**



Mime
View raw message