commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1134631 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/domain/basic/DirectedGraphImpl.java
Date Sat, 11 Jun 2011 13:26:21 GMT
Author: simonetripodi
Date: Sat Jun 11 13:26:20 2011
New Revision: 1134631

URL: http://svn.apache.org/viewvc?rev=1134631&view=rev
Log:
temporary fix for compile error - whole implementation needs to be reviewed

Modified:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/domain/basic/DirectedGraphImpl.java

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/domain/basic/DirectedGraphImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/domain/basic/DirectedGraphImpl.java?rev=1134631&r1=1134630&r2=1134631&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/domain/basic/DirectedGraphImpl.java
(original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/domain/basic/DirectedGraphImpl.java
Sat Jun 11 13:26:20 2011
@@ -289,7 +289,7 @@ public class DirectedGraphImpl
 
         if (e instanceof WeightedEdge)
         {
-            edgeWeights.put(e, new Double(((WeightedEdge) e).getWeight()));
+            edgeWeights.put(e, new Double(((WeightedEdge<Double>) e).getWeight()));
         }
         else
         {



Mime
View raw message