Skip to content

Commit

Permalink
[MCHECKSTYLE-423] Explicitly start and end tables with Doxia Sinks in…
Browse files Browse the repository at this point in the history
… report renderers
  • Loading branch information
michael-o committed Jan 6, 2023
1 parent 746a137 commit 932c8bc
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ private void doRulesSummary( CheckstyleResults results )
sink.sectionTitle1_();

sink.table();
sink.tableRows( null, false );

sink.tableRow();
sink.tableHeaderCell();
Expand Down Expand Up @@ -303,6 +304,7 @@ private void doRulesSummary( CheckstyleResults results )
sink.tableRow_();
}

sink.tableRows_();
sink.table_();

sink.section1_();
Expand Down Expand Up @@ -478,6 +480,7 @@ private void doSeveritySummary( CheckstyleResults results )
sink.sectionTitle1_();

sink.table();
sink.tableRows( null, false );

sink.tableRow();
sink.tableHeaderCell();
Expand Down Expand Up @@ -512,6 +515,7 @@ private void doSeveritySummary( CheckstyleResults results )
sink.tableCell_();
sink.tableRow_();

sink.tableRows_();
sink.table_();

sink.section1_();
Expand All @@ -525,6 +529,7 @@ private void doFilesSummary( CheckstyleResults results )
sink.sectionTitle1_();

sink.table();
sink.tableRows( null, false );

sink.tableRow();
sink.tableHeaderCell();
Expand Down Expand Up @@ -577,7 +582,9 @@ private void doFilesSummary( CheckstyleResults results )
sink.tableRow_();
}

sink.tableRows_();
sink.table_();

sink.section1_();
}

Expand Down Expand Up @@ -611,6 +618,8 @@ private void doDetails( CheckstyleResults results )
sink.sectionTitle_( Sink.SECTION_LEVEL_2 );

sink.table();
sink.tableRows( null, false );

sink.tableRow();
sink.tableHeaderCell();
sink.text( bundle.getString( "report.checkstyle.column.severity" ) );
Expand All @@ -631,7 +640,9 @@ private void doDetails( CheckstyleResults results )

doFileEvents( violations, file );

sink.tableRows_();
sink.table_();

sink.section2_();
}

Expand Down

0 comments on commit 932c8bc

Please sign in to comment.