[MPLUGIN-274] fixed style errors in generated HelpMojo source
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1628556 13f79535-47bb-0310-9956-ffa450edef68master
parent
045ab59621
commit
7bc6873931
|
|
@ -105,7 +105,10 @@ public class HelpMojo
|
||||||
private int indentSize;
|
private int indentSize;
|
||||||
|
|
||||||
// groupId/artifactId/plugin-help.xml
|
// groupId/artifactId/plugin-help.xml
|
||||||
private static final String PLUGIN_HELP_PATH = "/${pluginHelpPath}";
|
private static final String PLUGIN_HELP_PATH =
|
||||||
|
"/${pluginHelpPath}";
|
||||||
|
|
||||||
|
private static final int DEFAULT_LINE_LENGTH = 80;
|
||||||
|
|
||||||
private Document build()
|
private Document build()
|
||||||
throws MojoExecutionException
|
throws MojoExecutionException
|
||||||
|
|
@ -156,7 +159,7 @@ public class HelpMojo
|
||||||
if ( lineLength <= 0 )
|
if ( lineLength <= 0 )
|
||||||
{
|
{
|
||||||
getLog().warn( "The parameter 'lineLength' should be positive, using '80' as default." );
|
getLog().warn( "The parameter 'lineLength' should be positive, using '80' as default." );
|
||||||
lineLength = 80;
|
lineLength = DEFAULT_LINE_LENGTH;
|
||||||
}
|
}
|
||||||
if ( indentSize <= 0 )
|
if ( indentSize <= 0 )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue