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:
Brett Leslie Porter 2005-10-11 13:42:20 +00:00
parent 9ad08679f8
commit 779e7867f4
1 changed files with 2 additions and 1 deletions

View File

@ -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();