maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fgi...@apache.org
Subject svn commit: r360598 - in /maven/plugins/trunk/maven-checkstyle-plugin/src/main: java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java resources/checkstyle-report.properties resources/checkstyle-report_fr.properties
Date Sun, 01 Jan 2006 23:53:01 GMT
Author: fgiust
Date: Sun Jan  1 15:52:55 2006
New Revision: 360598

URL: http://svn.apache.org/viewcvs?rev=360598&view=rev
Log:
add section header for details, fix anchors

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

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=360598&r1=360597&r2=360598&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
Sun Jan  1 15:52:55 2006
@@ -557,6 +557,12 @@
     
     private void doDetails( CheckstyleResults results )
     {
+
+        sink.section1();
+        sink.sectionTitle1();
+        sink.text( bundle.getString( "report.checkstyle.details" ) );
+        sink.sectionTitle1_();
+        
         Iterator files = results.getFiles().keySet().iterator();
         
         while ( files.hasNext() )
@@ -571,12 +577,12 @@
             }
             
             doxiaHack(); 
-            sink.section1();
-            sink.sectionTitle1();
+            sink.section2();
+            sink.sectionTitle2();
             sink.anchor( file.replace( '/', '.' ) );
-            sink.text( file );
             sink.anchor_();
-            sink.sectionTitle1_();
+            sink.text( file );
+            sink.sectionTitle2_();
             
             sink.table();
             sink.tableRow();
@@ -594,8 +600,10 @@
             doFileEvents( violations);
             
             sink.table_();
-            sink.section1_();
+            sink.section2_();
         }
+        
+        sink.section1_();
     }
     
     private void doFileEvents( List eventList )

Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/resources/checkstyle-report.properties
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-checkstyle-plugin/src/main/resources/checkstyle-report.properties?rev=360598&r1=360597&r2=360598&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/resources/checkstyle-report.properties
(original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/resources/checkstyle-report.properties
Sun Jan  1 15:52:55 2006
@@ -21,6 +21,7 @@
 report.checkstyle.column.line=Line
 report.checkstyle.checkstylelink=The following document contains the results of
 report.checkstyle.files=Files
+report.checkstyle.details=Details
 report.checkstyle.summary=Summary
 report.checkstyle.rules=Rules
 report.checkstyle.severity_title=Checkstyle errors in severity

Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/resources/checkstyle-report_fr.properties
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-checkstyle-plugin/src/main/resources/checkstyle-report_fr.properties?rev=360598&r1=360597&r2=360598&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/resources/checkstyle-report_fr.properties
(original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/resources/checkstyle-report_fr.properties
Sun Jan  1 15:52:55 2006
@@ -21,6 +21,7 @@
 report.checkstyle.column.line=Ligne
 report.checkstyle.checkstylelink=Le document suivant contient les résultats de
 report.checkstyle.files=Fichiers
+report.checkstyle.details=Détails
 report.checkstyle.summary=Résumé
 report.checkstyle.rules=Réglée
 report.checkstyle.severity_title=Erreurs Checkstyle par sévérité



Mime
View raw message