Add more checks to test

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@293490 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
carlos 2005-10-04 02:04:37 +00:00
parent 156cd3d646
commit 1d2b85c91d
2 changed files with 34 additions and 0 deletions

View File

@ -4,14 +4,40 @@
"http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
<module name="Checker">
<module name="PackageHtml">
<property name="severity" value="info"/>
</module>
<property name="severity" value="error"/>
<module name="TreeWalker">
<module name="JavadocType">
<property name="severity" value="warning"/>
</module>
<module name="JavadocVariable">
<property name="scope" value="protected"/>
<property name="severity" value="info"/>
</module>
<module name="IllegalInstantiation">
<property name="classes" value="java.lang.Boolean"/>
</module>
<module name="GenericIllegalRegexp">
<property name="format" value="\s+$"/>
<property name="message" value="Line has trailing spaces."/>
</module>
<module name="GenericIllegalRegexp">
<property name="format" value="\s+$"/>
<property name="message" value="This has to be the second message about trailing spaces."/>
</module>
<module name="LineLength">
<property name="max" value="60"/>
</module>
</module>
<module name="SuppressionFilter">

View File

@ -0,0 +1,8 @@
package org.apache.maven;
public class BreakTrailingSpaces
{
// Voluntarily adding trailing spaces
public String x;
}