Skip to content

Commit

Permalink
[MJAVADOC-512] - Even when <javadocVersion>1.8.0</javadocVersion> mat…
Browse files Browse the repository at this point in the history
…ches there still is a warning.

 o Followup seemed to be that I have missed something during the merge.

   Signed-off-by: Karl Heinz Marbaise <khmarbaise@apache.org>
  • Loading branch information
khmarbaise committed Mar 24, 2018
1 parent 7c75ad5 commit c611330
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3782,7 +3782,7 @@ private void setFJavadocVersion( File jExecutable )
throw new MavenReportException( "Unable to parse javadoc version: " + e.getMessage(), e );
}

if ( javadocRuntimeVersion != jVersion && getLog().isWarnEnabled() )
if ( javadocRuntimeVersion.compareTo( jVersion ) != 0 && getLog().isWarnEnabled() )
{
getLog().warn( "Are you sure about the <javadocVersion/> parameter? It seems to be " + jVersion );
}
Expand Down

0 comments on commit c611330

Please sign in to comment.