You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2012/03/01 09:07:36 UTC
svn commit: r1295460 -
/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/DefaultVisitAlgorithmsSelector.java
Author: simonetripodi
Date: Thu Mar 1 08:07:35 2012
New Revision: 1295460
URL: http://svn.apache.org/viewvc?rev=1295460&view=rev
Log:
QueueOrStack class 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=1295460&r1=1295459&r2=1295460&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 08:07:35 2012
@@ -173,7 +173,7 @@ final class DefaultVisitAlgorithmsSelect
*
* @param <V> the Graph vertices type
*/
- private static class QueueOrStack<V extends Vertex>
+ private static final class QueueOrStack<V extends Vertex>
{
/** indicated the collection behavior. */
private boolean isQueue;