commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: svn commit: r1477744 - /commons/proper/collections/trunk/checkstyle.xml
Date Tue, 30 Apr 2013 18:07:20 GMT
On 30 April 2013 19:03, <tn@apache.org> 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"/>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message