commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1135846 - in /commons/sandbox/graph/trunk/src: main/java/org/apache/commons/graph/algorithm/path/ main/java/org/apache/commons/graph/algorithm/util/PathImpl.java test/java/org/apache/commons/graph/algorithm/path/
Date Tue, 14 Jun 2011 23:21:34 GMT
Author: simonetripodi
Date: Tue Jun 14 23:21:34 2011
New Revision: 1135846

URL: http://svn.apache.org/viewvc?rev=1135846&view=rev
Log:
path package replaced by new shortestpath one

Removed:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/algorithm/path/
    commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/algorithm/path/
Modified:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/algorithm/util/PathImpl.java

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/algorithm/util/PathImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/algorithm/util/PathImpl.java?rev=1135846&r1=1135845&r2=1135846&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/algorithm/util/PathImpl.java
(original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/algorithm/util/PathImpl.java
Tue Jun 14 23:21:34 2011
@@ -72,11 +72,11 @@ public class PathImpl
 	return new PathImpl( newVertices, newEdges );
     }
 
-  public Vertex getStart() {
+  public Vertex getSource() {
     return (Vertex) vertexList.get( 0 );
   }
 
-  public Vertex getEnd() {
+  public Vertex getTarget() {
     return (Vertex) vertexList.get( vertexList.size() - 1 );
   }
 



Mime
View raw message