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 2011/06/11 16:38:07 UTC

svn commit: r1134658 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/DirectedGraph.java

Author: simonetripodi
Date: Sat Jun 11 14:38:07 2011
New Revision: 1134658

URL: http://svn.apache.org/viewvc?rev=1134658&view=rev
Log:
added missing generics on (in|out)bound methods

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

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/DirectedGraph.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/DirectedGraph.java?rev=1134658&r1=1134657&r2=1134658&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/DirectedGraph.java (original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/DirectedGraph.java Sat Jun 11 14:38:07 2011
@@ -36,13 +36,13 @@ public interface DirectedGraph<V extends
      * getInbound( Vertex ) Returns the set of edges which are inbound to the
      * Vertex.
      */
-    Set getInbound( Vertex v );
+    Set<E> getInbound( Vertex v );
 
     /**
      * getOutbound( Vertex ) Returns the set of edges which lead away from the
      * Vertex.
      */
-    Set getOutbound( Vertex v );
+    Set<E> getOutbound( Vertex v );
 
     /**
      * getSource( Edge ) Returns the vertex which originates the edge.