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/04/23 12:27:07 UTC

svn commit: r1329165 - /commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/GraphSerializationTestCase.java

Author: simonetripodi
Date: Mon Apr 23 10:27:07 2012
New Revision: 1329165

URL: http://svn.apache.org/viewvc?rev=1329165&view=rev
Log:
internal utility methods can be static

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

Modified: commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/GraphSerializationTestCase.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/GraphSerializationTestCase.java?rev=1329165&r1=1329164&r2=1329165&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/GraphSerializationTestCase.java (original)
+++ commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/GraphSerializationTestCase.java Mon Apr 23 10:27:07 2012
@@ -169,7 +169,7 @@ public class GraphSerializationTestCase
         assertEquals( g, cloned );
     }
 
-    private GraphConnection<BaseLabeledVertex, BaseLabeledEdge> buildGraphConnections()
+    private static GraphConnection<BaseLabeledVertex, BaseLabeledEdge> buildGraphConnections()
     {
         GraphConnection<BaseLabeledVertex, BaseLabeledEdge> connections =
             new AbstractGraphConnection<BaseLabeledVertex, BaseLabeledEdge>()
@@ -192,7 +192,7 @@ public class GraphSerializationTestCase
         return connections;
     }
 
-    private GraphConnection<BaseLabeledVertex, BaseLabeledWeightedEdge<Double>> buildWeightedGraphConnections()
+    private static GraphConnection<BaseLabeledVertex, BaseLabeledWeightedEdge<Double>> buildWeightedGraphConnections()
     {
         GraphConnection<BaseLabeledVertex, BaseLabeledWeightedEdge<Double>> connections =
             new AbstractGraphConnection<BaseLabeledVertex, BaseLabeledWeightedEdge<Double>>()