Skip to content

Commit 315d3e8

Browse files
committed
Simplify o.a.m.plugins.surefire.report.AbstractSurefireReportMojo.canGenerateReport()
The call to super method is redundant because it is always true. This closes #651
1 parent 535ae06 commit 315d3e8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,6 @@ public void executeReport(Locale locale) throws MavenReportException {
163163

164164
@Override
165165
public boolean canGenerateReport() {
166-
return hasReportDirectories() && super.canGenerateReport();
167-
}
168-
169-
private boolean hasReportDirectories() {
170166
if (isSkipped()) {
171167
return false;
172168
}

0 commit comments

Comments
 (0)