commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1137173 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/Visit.java
Date Sat, 18 Jun 2011 11:26:24 GMT
Author: simonetripodi
Date: Sat Jun 18 11:26:23 2011
New Revision: 1137173

URL: http://svn.apache.org/viewvc?rev=1137173&view=rev
Log:
fixed wrong node enqueued wne applying breadthFirstSearch

Modified:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/Visit.java

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/Visit.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/Visit.java?rev=1137173&r1=1137172&r2=1137173&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/Visit.java (original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/Visit.java Sat
Jun 18 11:26:23 2011
@@ -107,7 +107,7 @@ public final class Visit
                         handler.discoverEdge( e );
                     }
 
-                    vertexQueue.addFirst( v );
+                    vertexQueue.addFirst( w );
 
                     if ( handler != null )
                     {



Mime
View raw message