Author: britter Date: Sun Mar 3 10:47:03 2013 New Revision: 1452024 URL: http://svn.apache.org/r1452024 Log: [BEANUTILS-427] - Configure Checkstyle to check for trailing white spaces and white spaces on empty lines
Modified: commons/proper/beanutils/trunk/checkstyle.xml commons/proper/beanutils/trunk/src/changes/changes.xml Modified: commons/proper/beanutils/trunk/checkstyle.xml URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/checkstyle.xml?rev=1452024&r1=1452023&r2=1452024&view=diff ============================================================================== --- commons/proper/beanutils/trunk/checkstyle.xml (original) +++ commons/proper/beanutils/trunk/checkstyle.xml Sun Mar 3 10:47:03 2013 @@ -52,6 +52,11 @@ limitations under the License. <property name="allowUndeclaredRTE" value="true"/> </module> </module> + <!-- Line with trailing spaces --> + <module name="RegexpSingleline"> + <property name="format" value="\s+$"/> + <property name="message" value="Line has trailing spaces."/> + </module> </module> Modified: commons/proper/beanutils/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/changes/changes.xml?rev=1452024&r1=1452023&r2=1452024&view=diff ============================================================================== --- commons/proper/beanutils/trunk/src/changes/changes.xml (original) +++ commons/proper/beanutils/trunk/src/changes/changes.xml Sun Mar 3 10:47:03 2013 @@ -40,6 +40,9 @@ The <action> type attribute can be add,u <body> <release version="1.8.4" date="in SVN" description="Bug fix for 1.8.3"> + <action dev="britter" type="update" issue="BEANUTILS-427" > + Configure Checkstyle to check for trailing white spaces and white spaces on empty lines + </action> <action dev="britter" type="fix" issue="BEANUTILS-408" > MethodUtils.invokeMethod() throws NullPointerException when args==null </action>