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:01:44 UTC
svn commit: r1134640 -
/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Graph.java
Author: simonetripodi
Date: Sat Jun 11 14:01:44 2011
New Revision: 1134640
URL: http://svn.apache.org/viewvc?rev=1134640&view=rev
Log:
fixed broken return types
Modified:
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Graph.java
Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Graph.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Graph.java?rev=1134640&r1=1134639&r2=1134640&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Graph.java (original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Graph.java Sat Jun 11 14:01:44 2011
@@ -38,7 +38,7 @@ public interface Graph<V extends Vertex,
*
* @return the total set of Edges in the graph.
*/
- Set<V> getEdges();
+ Set<E> getEdges();
/**
* Returns all edges which touch this vertex.
@@ -52,6 +52,6 @@ public interface Graph<V extends Vertex,
*
* @return the set of {@link Vertex} on this Edge.
*/
- Set<E> getVertices(Edge e);
+ Set<V> getVertices(Edge e);
}