mirror of https://github.com/apache/maven.git
PR: MNG-830
Submitted by: Allan Ramirez remove unnecessary expression from clover plugin git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312878 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9ad08679f8
commit
779e7867f4
|
@ -22,7 +22,7 @@ import org.apache.tools.ant.taskdefs.Taskdef;
|
|||
public abstract class AbstractCloverMojo extends AbstractMojo
|
||||
{
|
||||
/**
|
||||
* @parameter expression=""
|
||||
* @parameter
|
||||
*/
|
||||
private String licenseFile;
|
||||
|
||||
|
@ -35,6 +35,7 @@ public abstract class AbstractCloverMojo extends AbstractMojo
|
|||
protected void registerLicenseFile()
|
||||
{
|
||||
String licenseToUse = this.licenseFile;
|
||||
|
||||
if (licenseToUse == null)
|
||||
{
|
||||
licenseToUse = getClass().getResource("/clover.license").getFile();
|
||||
|
|
Loading…
Reference in New Issue