commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1134800 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/domain/basic/DirectedGraphImpl.java
Date Sat, 11 Jun 2011 22:24:46 GMT
Author: simonetripodi
Date: Sat Jun 11 22:24:46 2011
New Revision: 1134800

URL: http://svn.apache.org/viewvc?rev=1134800&view=rev
Log:
root vertex is of generic type V

Modified:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/domain/basic/DirectedGraphImpl.java

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/domain/basic/DirectedGraphImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/domain/basic/DirectedGraphImpl.java?rev=1134800&r1=1134799&r2=1134800&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/domain/basic/DirectedGraphImpl.java
(original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/domain/basic/DirectedGraphImpl.java
Sat Jun 11 22:24:46 2011
@@ -47,7 +47,7 @@ import org.apache.commons.graph.contract
 public class DirectedGraphImpl<V extends Vertex, WE extends WeightedEdge>
     implements DirectedGraph<V, WE>, WeightedGraph<V, WE>, MutableDirectedGraph<V,
WE>, InvocationHandler
 {
-    private Vertex root = null;
+    private V root = null;
 
     private final Set<V> vertices = new HashSet<V>();
 



Mime
View raw message