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 17:42:16 UTC

svn commit: r1134678 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Path.java

Author: simonetripodi
Date: Sat Jun 11 15:42:15 2011
New Revision: 1134678

URL: http://svn.apache.org/viewvc?rev=1134678&view=rev
Log:
fixed Vertex/Edge types on returned collections

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

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Path.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Path.java?rev=1134678&r1=1134677&r2=1134678&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Path.java (original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Path.java Sat Jun 11 15:42:15 2011
@@ -43,13 +43,13 @@ public interface Path
      * Start to End. This includes the Start and End vertex, and will have one
      * more entry than the Edges list.
      */
-    public List getVertices();
+    public List<Vertex> getVertices();
 
     /**
      * getEdges() - This returns a list of Edges which comprise the path. It
      * will have one less than the list of Vertices.
      */
-    public List getEdges();
+    public List<Edge> getEdges();
 
     /**
      * size() - This returns the size of the path in terms of number of