Switched to checkstyle 5.x, so we can use package-info.java.

JIRA: MATH-445

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1178168 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2011-10-02 09:58:38 +00:00
parent 121638c7c2
commit 2d0bacedae
2 changed files with 12 additions and 12 deletions

View File

@ -25,11 +25,6 @@
<module name="TreeWalker"> <module name="TreeWalker">
<!-- Verify that EVERY source file has the appropriate license -->
<module name="Header">
<property name="headerFile" value="${checkstyle.header.file}"/>
</module>
<!-- Operator must be at end of wrapped line --> <!-- Operator must be at end of wrapped line -->
<module name="OperatorWrap"> <module name="OperatorWrap">
<property name="option" value="eol"/> <property name="option" value="eol"/>
@ -54,9 +49,6 @@
<!-- Require field javadoc --> <!-- Require field javadoc -->
<module name="JavadocVariable"/> <module name="JavadocVariable"/>
<!-- No tabs allowed! -->
<module name="TabCharacter"/>
<!-- No public fields --> <!-- No public fields -->
<module name="VisibilityModifier"> <module name="VisibilityModifier">
<property name="protectedAllowed" value="true"/> <property name="protectedAllowed" value="true"/>
@ -144,11 +136,19 @@
</module> </module>
<!-- Verify that EVERY source file has the appropriate license -->
<module name="Header">
<property name="headerFile" value="${checkstyle.header.file}"/>
</module>
<!-- No tabs allowed! -->
<module name="FileTabCharacter"/>
<!-- Require files to end with newline characters --> <!-- Require files to end with newline characters -->
<module name="NewlineAtEndOfFile"/> <module name="NewlineAtEndOfFile"/>
<!-- Require package javadoc --> <!-- Require package javadoc -->
<module name="PackageHtml"/> <module name="JavadocPackage"/>
<!-- Setup special comments to suppress specific checks from source files --> <!-- Setup special comments to suppress specific checks from source files -->
<module name="SuppressionCommentFilter"> <module name="SuppressionCommentFilter">

View File

@ -368,11 +368,11 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId> <artifactId>maven-checkstyle-plugin</artifactId>
<version>2.3</version> <version>2.7</version>
<configuration> <configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation> <configLocation>${basedir}/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary> <enableRulesSummary>false</enableRulesSummary>
<headerFile>${basedir}/license-header.txt</headerFile> <headerLocation>${basedir}/license-header.txt</headerLocation>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>