This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-checkstyle-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 932c8bc  [MCHECKSTYLE-423] Explicitly start and end tables with Doxia 
Sinks in report renderers
932c8bc is described below

commit 932c8bcd8953e3634cf8b409e276575c0ad60d3a
Author: Michael Osipov <micha...@apache.org>
AuthorDate: Fri Jan 6 23:19:51 2023 +0100

    [MCHECKSTYLE-423] Explicitly start and end tables with Doxia Sinks in 
report renderers
---
 .../maven/plugins/checkstyle/CheckstyleReportGenerator.java   | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git 
a/src/main/java/org/apache/maven/plugins/checkstyle/CheckstyleReportGenerator.java
 
b/src/main/java/org/apache/maven/plugins/checkstyle/CheckstyleReportGenerator.java
index bd241b0..55b7241 100644
--- 
a/src/main/java/org/apache/maven/plugins/checkstyle/CheckstyleReportGenerator.java
+++ 
b/src/main/java/org/apache/maven/plugins/checkstyle/CheckstyleReportGenerator.java
@@ -263,6 +263,7 @@ public class CheckstyleReportGenerator
         sink.sectionTitle1_();
 
         sink.table();
+        sink.tableRows( null, false );
 
         sink.tableRow();
         sink.tableHeaderCell();
@@ -303,6 +304,7 @@ public class CheckstyleReportGenerator
             sink.tableRow_();
         }
 
+        sink.tableRows_();
         sink.table_();
 
         sink.section1_();
@@ -478,6 +480,7 @@ public class CheckstyleReportGenerator
         sink.sectionTitle1_();
 
         sink.table();
+        sink.tableRows( null, false );
 
         sink.tableRow();
         sink.tableHeaderCell();
@@ -512,6 +515,7 @@ public class CheckstyleReportGenerator
         sink.tableCell_();
         sink.tableRow_();
 
+        sink.tableRows_();
         sink.table_();
 
         sink.section1_();
@@ -525,6 +529,7 @@ public class CheckstyleReportGenerator
         sink.sectionTitle1_();
 
         sink.table();
+        sink.tableRows( null, false );
 
         sink.tableRow();
         sink.tableHeaderCell();
@@ -577,7 +582,9 @@ public class CheckstyleReportGenerator
             sink.tableRow_();
         }
 
+        sink.tableRows_();
         sink.table_();
+
         sink.section1_();
     }
 
@@ -611,6 +618,8 @@ public class CheckstyleReportGenerator
             sink.sectionTitle_( Sink.SECTION_LEVEL_2 );
 
             sink.table();
+            sink.tableRows( null, false );
+
             sink.tableRow();
             sink.tableHeaderCell();
             sink.text( bundle.getString( "report.checkstyle.column.severity" ) 
);
@@ -631,7 +640,9 @@ public class CheckstyleReportGenerator
 
             doFileEvents( violations, file );
 
+            sink.tableRows_();
             sink.table_();
+
             sink.section2_();
         }
 

Reply via email to