mirror of https://github.com/apache/maven.git
fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813628 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
05b59c8935
commit
d64e8c5d70
|
@ -43,7 +43,7 @@ public class MojoDescriptor
|
|||
implements Cloneable
|
||||
{
|
||||
/** The Plexus component type */
|
||||
public static String MAVEN_PLUGIN = "maven-plugin";
|
||||
public static final String MAVEN_PLUGIN = "maven-plugin";
|
||||
|
||||
/** "once-per-session" execution strategy */
|
||||
public static final String SINGLE_PASS_EXEC_STRATEGY = "once-per-session";
|
||||
|
@ -192,9 +192,9 @@ public class MojoDescriptor
|
|||
{
|
||||
if ( parameters != null && parameters.contains( parameter ) )
|
||||
{
|
||||
throw new DuplicateParameterException( parameter.getName() +
|
||||
" has been declared multiple times in mojo with goal: " + getGoal() + " (implementation: " +
|
||||
getImplementation() + ")" );
|
||||
throw new DuplicateParameterException( parameter.getName()
|
||||
+ " has been declared multiple times in mojo with goal: " + getGoal() + " (implementation: "
|
||||
+ getImplementation() + ")" );
|
||||
}
|
||||
|
||||
if ( parameters == null )
|
||||
|
|
Loading…
Reference in New Issue