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:01:16 UTC
svn commit: r1329153 -
/commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/model/GraphSerializationTestCase.java
Author: simonetripodi
Date: Mon Apr 23 10:01:16 2012
New Revision: 1329153
URL: http://svn.apache.org/viewvc?rev=1329153&view=rev
Log:
checkSerialization() method 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=1329153&r1=1329152&r2=1329153&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:01:16 2012
@@ -152,7 +152,7 @@ public class GraphSerializationTestCase
* @throws IOException
* @throws ClassNotFoundException
*/
- private void checkSerialization( Graph<BaseLabeledVertex, ? extends Serializable> g )
+ private static void checkSerialization( Graph<BaseLabeledVertex, ? extends Serializable> g )
throws FileNotFoundException, IOException, ClassNotFoundException
{
FileOutputStream fout = new FileOutputStream( FILE_NAME );