Skip to content

Commit

Permalink
Use AbstractMavenReport#getReportOutputDirectory() consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Dec 10, 2023
1 parent 7c18d86 commit fdb02ab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected void executeReport( Locale locale ) throws MavenReportException
Sink anotherSink;
try
{
anotherSink = getSinkFactory().createSink( outputDirectory, "another-page.html" );
anotherSink = getSinkFactory().createSink( getReportOutputDirectory(), "another-page.html" );
}
catch ( IOException e )
{
Expand All @@ -81,7 +81,7 @@ protected void executeReport( Locale locale ) throws MavenReportException
anotherSink.text( "Another Sink" );

// Create a new sink, in a subdirectory
File subDirectory = new File( outputDirectory, "sub" );
File subDirectory = new File( getReportOutputDirectory(), "sub" );
Sink subDirectorySink;
try
{
Expand Down

0 comments on commit fdb02ab

Please sign in to comment.