Add trailing whitespace checkstyle rule.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477744 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2013-04-30 18:03:28 +00:00
parent 9a2f53d2d5
commit 2565d09502
1 changed files with 7 additions and 0 deletions

View File

@ -68,6 +68,13 @@
<!-- Constant names should obey the traditional all uppercase naming convention -->
<module name="ConstantName" />
<!-- No trailing whitespace -->
<module name="Regexp">
<property name="format" value="[ \t]+$"/>
<property name="illegalPattern" value="true"/>
<property name="message" value="Trailing whitespace"/>
</module>
<!-- Authors should be in pom.xml file -->
<module name="Regexp">
<property name="format" value="@author"/>