Author: simonetripodi Date: Thu Mar 1 07:58:31 2012 New Revision: 1295454 URL: http://svn.apache.org/viewvc?rev=1295454&view=rev Log: The adapted LinkedList can be final
Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/DefaultVisitAlgorithmsSelector.java Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/DefaultVisitAlgorithmsSelector.java URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/DefaultVisitAlgorithmsSelector.java?rev=1295454&r1=1295453&r2=1295454&view=diff ============================================================================== --- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/DefaultVisitAlgorithmsSelector.java (original) +++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/DefaultVisitAlgorithmsSelector.java Thu Mar 1 07:58:31 2012 @@ -176,8 +176,9 @@ final class DefaultVisitAlgorithmsSelect { /** indicated the collection behavior. */ private boolean isQueue; + /** the underlying linked list implementation. */ - private LinkedList<P> list; + private final LinkedList<P> list; /** * Create a new {@link QueueOrStack} instance with the desired