From 535ae06e922bc8e26b6fcd8399d39fdf0ea22a14 Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Tue, 30 May 2023 15:22:36 +0200 Subject: [PATCH] Don't call method which is already called by the super class --- .../plugins/surefire/report/AbstractSurefireReportMojo.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java b/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java index 27812808f6..72867bfbb7 100644 --- a/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java +++ b/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java @@ -149,10 +149,6 @@ protected boolean isGeneratedWhenNoResults() { */ @Override public void executeReport(Locale locale) throws MavenReportException { - if (!hasReportDirectories()) { - return; - } - SurefireReportRenderer r = new SurefireReportRenderer( getSink(), getI18N(locale),