Author: mbenson Date: Thu Apr 3 13:17:54 2008 New Revision: 644467 URL: http://svn.apache.org/viewvc?rev=644467&view=rev Log: tighten checkstyle rules
Modified: commons/sandbox/functor/trunk/checkstyle.xml Modified: commons/sandbox/functor/trunk/checkstyle.xml URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/checkstyle.xml?rev=644467&r1=644466&r2=644467&view=diff ============================================================================== --- commons/sandbox/functor/trunk/checkstyle.xml (original) +++ commons/sandbox/functor/trunk/checkstyle.xml Thu Apr 3 13:17:54 2008 @@ -39,5 +39,30 @@ <module name="JavadocMethod"> <property name="allowUndeclaredRTE" value="true"/> </module> - </module> + + <!-- Checks for whitespace --> + <!-- See http://checkstyle.sf.net/config_whitespace.html --> + <module name="EmptyForIteratorPad"/> + <module name="NoWhitespaceAfter"> + <!-- not ARRAY_INIT --> + <property name="tokens" value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS" /> + </module> + + <module name="NoWhitespaceBefore"/> + <module name="OperatorWrap"/> + <module name="TabCharacter"/> + <module name="WhitespaceAfter"/> + <module name="WhitespaceAround"/> + + <module name="GenericIllegalRegexp"> + <property name="format" value="\s+$"/> + <property name="message" value="Line has trailing spaces."/> + </module> + <module name="UpperEll"/> + + <module name="DeclarationOrder" /> + <module name="ModifierOrder" /> + + </module> + </module>