You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2012/03/07 23:37:44 UTC

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

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();
     }