archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joak...@apache.org
Subject svn commit: r548113 - /maven/archiva/trunk/archiva-base/archiva-dependency-graph/src/test/java/org/apache/maven/archiva/dependency/graph/GraphvizDotTool.java
Date Sun, 17 Jun 2007 21:13:56 GMT
Author: joakime
Date: Sun Jun 17 14:13:55 2007
New Revision: 548113

URL: http://svn.apache.org/viewvc?view=rev&rev=548113
Log:
Fixing JDK 1.5 specific usage. (to use JDK 1.4 as minimum JDK)


Modified:
    maven/archiva/trunk/archiva-base/archiva-dependency-graph/src/test/java/org/apache/maven/archiva/dependency/graph/GraphvizDotTool.java

Modified: maven/archiva/trunk/archiva-base/archiva-dependency-graph/src/test/java/org/apache/maven/archiva/dependency/graph/GraphvizDotTool.java
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-base/archiva-dependency-graph/src/test/java/org/apache/maven/archiva/dependency/graph/GraphvizDotTool.java?view=diff&rev=548113&r1=548112&r2=548113
==============================================================================
--- maven/archiva/trunk/archiva-base/archiva-dependency-graph/src/test/java/org/apache/maven/archiva/dependency/graph/GraphvizDotTool.java
(original)
+++ maven/archiva/trunk/archiva-base/archiva-dependency-graph/src/test/java/org/apache/maven/archiva/dependency/graph/GraphvizDotTool.java
Sun Jun 17 14:13:55 2007
@@ -28,6 +28,7 @@
 import org.codehaus.plexus.PlexusTestCase;
 
 import java.io.File;
+import java.io.FileWriter;
 import java.io.IOException;
 import java.io.PrintWriter;
 import java.util.Iterator;
@@ -141,7 +142,8 @@
         try
         {
             File outputFile = new File( outputFilename );
-            PrintWriter dot = new PrintWriter( outputFile );
+            FileWriter writer = new FileWriter( outputFile );
+            PrintWriter dot = new PrintWriter( writer );
 
             dot.println( "// Auto generated dot file from plexus-graph-visualizer-graphviz."
);
 



Mime
View raw message