mirror of
https://github.com/apache/archiva.git
synced 2025-02-12 21:16:09 +00:00
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.codehaus.plexus.PlexusTestCase;
|
import org.codehaus.plexus.PlexusTestCase;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
import java.io.FileWriter;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.PrintWriter;
|
import java.io.PrintWriter;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
@ -141,7 +142,8 @@ private void writeDot( String outputFilename, DependencyGraph graph, String titl
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
File outputFile = new File( outputFilename );
|
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." );
|
dot.println( "// Auto generated dot file from plexus-graph-visualizer-graphviz." );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user