Author: ggregory Date: Mon Mar 18 17:12:13 2013 New Revision: 1457870 URL: http://svn.apache.org/r1457870 Log: private field can be final.
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/iterators/NodeListIterator.java Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/iterators/NodeListIterator.java URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/iterators/NodeListIterator.java?rev=1457870&r1=1457869&r2=1457870&view=diff ============================================================================== --- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/iterators/NodeListIterator.java (original) +++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/iterators/NodeListIterator.java Mon Mar 18 17:12:13 2013 @@ -33,7 +33,7 @@ import org.w3c.dom.NodeList; public class NodeListIterator implements Iterator<Node> { /** the original NodeList instance */ - private NodeList nodeList; + private final NodeList nodeList; /** The current iterator index */ protected int index = 0;