commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1135803 - in /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph: WeightedEdge.java WeightedPath.java
Date Tue, 14 Jun 2011 21:25:57 GMT
Author: simonetripodi
Date: Tue Jun 14 21:25:57 2011
New Revision: 1135803

URL: http://svn.apache.org/viewvc?rev=1135803&view=rev
Log:
looks like Number is a little limited, so Double is nice (for now)

Modified:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedEdge.java
    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/WeightedEdge.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedEdge.java?rev=1135803&r1=1135802&r2=1135803&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedEdge.java (original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedEdge.java Tue
Jun 14 21:25:57 2011
@@ -34,6 +34,6 @@ public interface WeightedEdge<V extends 
      *
      * @return the weight attribute of the WeightedEdge object
      */
-    Number getWeight();
+    Double getWeight();
 
 }

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=1135803&r1=1135802&r2=1135803&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 Tue
Jun 14 21:25:57 2011
@@ -34,6 +34,6 @@ public interface WeightedPath<V extends 
      *
      * @return the weight attribute of the {@code WeightedPath} object.
      */
-    Number getWeight();
+    Double getWeight();
 
 }



Mime
View raw message