mirror of https://github.com/apache/archiva.git
Fixing JDK 1.5 specific usage. (to use JDK 1.4 as minimum JDK)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548113 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e7664898d6
commit
17e3dd1d76
|
@ -28,6 +28,7 @@ import org.apache.maven.archiva.model.VersionedReference;
|
|||
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 @@ public class GraphvizDotTool
|
|||
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." );
|
||||
|
||||
|
|
Loading…
Reference in New Issue