This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch comment in repository https://gitbox.apache.org/repos/asf/maven-pdf-plugin.git
commit ce5ea35ba57622e276e3fc660eb4f1bd0e7a2231 Author: Elliotte Rusty Harold <elh...@ibiblio.org> AuthorDate: Wed Dec 11 09:25:26 2024 -0500 Clean up legacy commented code --- .../java/org/apache/maven/plugins/pdf/PdfMojo.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java b/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java index ac099f4..e79738f 100644 --- a/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java +++ b/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java @@ -926,11 +926,6 @@ public class PdfMojo extends AbstractPdfMojo implements Contextualizable { /** * see org.apache.maven.plugins.site.render.ReportDocumentRenderer#renderDocument(...) - * - * @param reportExec - * @param locale - * @param sink - * @throws MavenReportException */ private void renderReportToSink(MavenReportExecution reportExec, Locale locale, PdfXdocSink sink) throws MavenReportException { @@ -941,19 +936,6 @@ public class PdfMojo extends AbstractPdfMojo implements Contextualizable { } MavenReport report = reportExec.getMavenReport(); - - /*if ( report instanceof MavenMultiPageReport ) - { - // extended multi-page API - ( (MavenMultiPageReport) report ).generate( mainSink, multiPageSinkFactory, locale ); - } - else if ( generateMultiPage( locale, multiPageSinkFactory, mainSink ) ) - { - // extended multi-page API for Maven 2.2, only accessible by reflection API - } - else - {*/ - // old single-page-only API report.generate(sink, locale); // } } finally {