commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1298178 - /commons/sandbox/graph/branches/drop-marker-interfaces-feature/src/test/java/org/apache/commons/graph/model/BaseWeightedEdge.java
Date Wed, 07 Mar 2012 22:37:44 GMT
Author: simonetripodi
Date: Wed Mar  7 22:37:44 2012
New Revision: 1298178

URL: http://svn.apache.org/viewvc?rev=1298178&view=rev
Log:
updated after the Mapper rename

Modified:
    commons/sandbox/graph/branches/drop-marker-interfaces-feature/src/test/java/org/apache/commons/graph/model/BaseWeightedEdge.java

Modified: commons/sandbox/graph/branches/drop-marker-interfaces-feature/src/test/java/org/apache/commons/graph/model/BaseWeightedEdge.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/branches/drop-marker-interfaces-feature/src/test/java/org/apache/commons/graph/model/BaseWeightedEdge.java?rev=1298178&r1=1298177&r2=1298178&view=diff
==============================================================================
--- commons/sandbox/graph/branches/drop-marker-interfaces-feature/src/test/java/org/apache/commons/graph/model/BaseWeightedEdge.java
(original)
+++ commons/sandbox/graph/branches/drop-marker-interfaces-feature/src/test/java/org/apache/commons/graph/model/BaseWeightedEdge.java
Wed Mar  7 22:37:44 2012
@@ -1,12 +1,12 @@
 package org.apache.commons.graph.model;
 
-import org.apache.commons.graph.WeightedEdges;
+import org.apache.commons.graph.Mapper;
 
 public final class BaseWeightedEdge<W>
-    implements WeightedEdges<BaseLabeledWeightedEdge<W>, W>
+    implements Mapper<BaseLabeledWeightedEdge<W>, W>
 {
 
-    public W getWeightForEdge( BaseLabeledWeightedEdge<W> edge )
+    public W map( BaseLabeledWeightedEdge<W> edge )
     {
         return edge.getWeight();
     }



Mime
View raw message