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-surefire.git


The following commit(s) were added to refs/heads/master by this push:
     new 535ae06e9 Don't call method which is already called by the super class
535ae06e9 is described below

commit 535ae06e922bc8e26b6fcd8399d39fdf0ea22a14
Author: Michael Osipov <[email protected]>
AuthorDate: Tue May 30 15:22:36 2023 +0200

    Don't call method which is already called by the super class
---
 .../maven/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 27812808f..72867bfbb 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 @@ public abstract class AbstractSurefireReportMojo extends 
AbstractMavenReport {
      */
     @Override
     public void executeReport(Locale locale) throws MavenReportException {
-        if (!hasReportDirectories()) {
-            return;
-        }
-
         SurefireReportRenderer r = new SurefireReportRenderer(
                 getSink(),
                 getI18N(locale),

Reply via email to