commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r512162 - /jakarta/commons/proper/email/trunk/conf/checkstyle.xml
Date Tue, 27 Feb 2007 07:20:10 GMT
Author: dion
Date: Mon Feb 26 23:20:09 2007
New Revision: 512162

URL: http://svn.apache.org/viewvc?view=rev&rev=512162
Log:
Allow empty catch blocks as long as there is text (a comment etc) in it

Modified:
    jakarta/commons/proper/email/trunk/conf/checkstyle.xml

Modified: jakarta/commons/proper/email/trunk/conf/checkstyle.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/conf/checkstyle.xml?view=diff&rev=512162&r1=512161&r2=512162
==============================================================================
--- jakarta/commons/proper/email/trunk/conf/checkstyle.xml (original)
+++ jakarta/commons/proper/email/trunk/conf/checkstyle.xml Mon Feb 26 23:20:09 2007
@@ -115,7 +115,10 @@
         <!-- Checks for blocks. You know, those {}'s         -->
         <!-- See http://checkstyle.sf.net/config_blocks.html -->
         <module name="AvoidNestedBlocks"/>
-        <module name="EmptyBlock"/>
+        <module name="EmptyBlock">
+    		<property name="option" value="text"/>
+    		<property name="tokens" value="LITERAL_CATCH"/>
+    	</module>
         <module name="LeftCurly">
             <property name="option" value="nl"/>
         </module>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message