maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r365343 - /maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/report/XMLReporter.java
Date Mon, 02 Jan 2006 13:09:57 GMT
Author: evenisse
Date: Mon Jan  2 05:09:54 2006
New Revision: 365343

URL: http://svn.apache.org/viewcvs?rev=365343&view=rev
Log:
Remove 1.5 code.

Modified:
    maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/report/XMLReporter.java

Modified: maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/report/XMLReporter.java
URL: http://svn.apache.org/viewcvs/maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/report/XMLReporter.java?rev=365343&r1=365342&r2=365343&view=diff
==============================================================================
--- maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/report/XMLReporter.java
(original)
+++ maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/report/XMLReporter.java
Mon Jan  2 05:09:54 2006
@@ -17,6 +17,9 @@
  */
 
 import java.io.File;
+import java.io.FileOutputStream;
+import java.io.BufferedWriter;
+import java.io.OutputStreamWriter;
 import java.io.PrintWriter;
 import java.io.StringWriter;
 import java.util.Enumeration;
@@ -70,7 +73,7 @@
 
         reportDir.mkdirs();
         
-        writer = new PrintWriter( reportFile, "UTF-8" );
+        writer = new PrintWriter( new BufferedWriter( new OutputStreamWriter( new FileOutputStream(
reportFile ), "UTF-8" ) ) );
         
         writer.write("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n");
         



Mime
View raw message