Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Nov 16, 2023
1 parent d4c0360 commit f0916fd
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
import org.apache.maven.project.MavenProject;

/**
* Creates an html-based, cross referenced version of Java source code
* for a project's test sources.
* Creates an html-based, cross referenced version of Java test source code
* for a project.
*
* @author <a href="mailto:bellingard.NO-SPAM@gmail.com">Fabrice Bellingard</a>
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
Expand All @@ -51,6 +51,11 @@ public class JxrTestReport extends AbstractJxrReport {
*/
private File testJavadocDir;

@Override
protected String getPluginReportOutputDirectory() {
return getReportOutputDirectory().getAbsolutePath() + "/xref-test";
}

@Override
protected List<String> getSourceRoots() {
List<String> l = new ArrayList<>();
Expand Down Expand Up @@ -81,11 +86,6 @@ protected List<String> getSourceRoots(MavenProject project) {
return l;
}

@Override
protected String getPluginReportOutputDirectory() {
return getReportOutputDirectory().getAbsolutePath() + "/xref-test";
}

@Override
public String getDescription(Locale locale) {
return getBundle(locale).getString("report.xref.test.description");
Expand Down

0 comments on commit f0916fd

Please sign in to comment.