Author: simonetripodi
Date: Sat Jun 11 14:09:28 2011
New Revision: 1134646

URL: http://svn.apache.org/viewvc?rev=1134646&view=rev
Log:
added missing <Vertex,Edge> generics types

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

Modified: 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/UndirectedGraph.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/UndirectedGraph.java?rev=1134646&r1=1134645&r2=1134646&view=diff
==============================================================================
--- 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/UndirectedGraph.java
 (original)
+++ 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/UndirectedGraph.java
 Sat Jun 11 14:09:28 2011
@@ -19,8 +19,11 @@ package org.apache.commons.graph;
 /**
  * An {@code UndirectedGraph} is a graph in which edges have no orientation, 
i.e., they are not ordered pairs,
  * but sets <code>{u, v}</code> (or 2-multisets) of vertices.
+ *
+ * @param <V> the Graph vertices type
+ * @param <E> the Graph edges type
  */
-public interface UndirectedGraph
-     extends Graph
+public interface UndirectedGraph<V extends Vertex, E extends Edge>
+     extends Graph<V, E>
 {
 }


Reply via email to