commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1138588 - in /commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model: BaseLabeledEdge.java BaseLabeledWeightedEdge.java
Date Wed, 22 Jun 2011 19:10:26 GMT
Author: simonetripodi
Date: Wed Jun 22 19:10:25 2011
New Revision: 1138588

URL: http://svn.apache.org/viewvc?rev=1138588&view=rev
Log:
removed useless reverse() methods 

Modified:
    commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/BaseLabeledEdge.java
    commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/BaseLabeledWeightedEdge.java

Modified: commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/BaseLabeledEdge.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/BaseLabeledEdge.java?rev=1138588&r1=1138587&r2=1138588&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/BaseLabeledEdge.java
(original)
+++ commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/BaseLabeledEdge.java
Wed Jun 22 19:10:25 2011
@@ -141,11 +141,6 @@ public class BaseLabeledEdge
         return true;
     }
 
-    public BaseLabeledEdge reverse()
-    {
-        return new BaseLabeledEdge( label, tail, head );
-    }
-
     /**
      * {@inheritDoc}
      */

Modified: commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/BaseLabeledWeightedEdge.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/BaseLabeledWeightedEdge.java?rev=1138588&r1=1138587&r2=1138588&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/BaseLabeledWeightedEdge.java
(original)
+++ commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/BaseLabeledWeightedEdge.java
Wed Jun 22 19:10:25 2011
@@ -55,12 +55,6 @@ public class BaseLabeledWeightedEdge
         return weight;
     }
 
-    @Override
-    public BaseLabeledEdge reverse()
-    {
-        return new BaseLabeledWeightedEdge( getLabel(), getTail(), getHead(), weight );
-    }
-
     /**
      * {@inheritDoc}
      */



Mime
View raw message