commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1134786 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedPath.java
Date Sat, 11 Jun 2011 22:02:58 GMT
Author: simonetripodi
Date: Sat Jun 11 22:02:58 2011
New Revision: 1134786

URL: http://svn.apache.org/viewvc?rev=1134786&view=rev
Log:
weight is a generic Number, not just fixed/forced double

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

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedPath.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedPath.java?rev=1134786&r1=1134785&r2=1134786&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedPath.java (original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedPath.java Sat
Jun 11 22:02:58 2011
@@ -29,6 +29,6 @@ public interface WeightedPath
     /**
      * Gets the weight attribute of the WeightedPath object
      */
-    double getWeight();
+    Number getWeight();
 
 }



Mime
View raw message