maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r382985 - /maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java
Date Sat, 04 Mar 2006 00:36:20 GMT
Author: carlos
Date: Fri Mar  3 16:36:19 2006
New Revision: 382985

URL: http://svn.apache.org/viewcvs?rev=382985&view=rev
Log:
Use system dependant end-of-line

Modified:
    maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java

Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java?rev=382985&r1=382984&r2=382985&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java
(original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java
Fri Mar  3 16:36:19 2006
@@ -35,6 +35,8 @@
 
 public class CheckstyleReportGenerator
 {
+    private static final String EOL = System.getProperty( "line.separator" );
+
     private Log log;
 
     private ResourceBundle bundle;
@@ -753,7 +755,7 @@
      */
     private void doxiaHack()
     {
-        sink.rawText( "\n" );
+        sink.rawText( EOL );
         sink.flush();
     }
 }



Mime
View raw message