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);
}