Skip to content

Commit

Permalink
Simplify o.a.m.plugins.surefire.report.AbstractSurefireReportMojo.can…
Browse files Browse the repository at this point in the history
…GenerateReport()

The call to super method is redundant because it is always true.

This closes #651
  • Loading branch information
michael-o committed May 30, 2023
1 parent 535ae06 commit 315d3e8
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,6 @@ public void executeReport(Locale locale) throws MavenReportException {

@Override
public boolean canGenerateReport() {
return hasReportDirectories() && super.canGenerateReport();
}

private boolean hasReportDirectories() {
if (isSkipped()) {
return false;
}
Expand Down

0 comments on commit 315d3e8

Please sign in to comment.