On 30 April 2013 19:03, <[email protected]> wrote:

> Author: tn
> Date: Tue Apr 30 18:03:28 2013
> New Revision: 1477744
>
> URL: http://svn.apache.org/r1477744
> Log:
> Add trailing whitespace checkstyle rule.
>
>
That's daring!

I've only done the test files so far ...


> Modified:
>     commons/proper/collections/trunk/checkstyle.xml
>
> Modified: commons/proper/collections/trunk/checkstyle.xml
> URL:
> http://svn.apache.org/viewvc/commons/proper/collections/trunk/checkstyle.xml?rev=1477744&r1=1477743&r2=1477744&view=diff
>
> ==============================================================================
> --- commons/proper/collections/trunk/checkstyle.xml (original)
> +++ commons/proper/collections/trunk/checkstyle.xml Tue Apr 30 18:03:28
> 2013
> @@ -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"/>
>
>
>

Reply via email to