Author: markt
Date: Sun Sep  7 22:49:17 2014
New Revision: 1623243

URL: http://svn.apache.org/r1623243
Log:
Enable the nested blocks check

Modified:
    tomcat/trunk/res/checkstyle/checkstyle.xml

Modified: tomcat/trunk/res/checkstyle/checkstyle.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/checkstyle/checkstyle.xml?rev=1623243&r1=1623242&r2=1623243&view=diff
==============================================================================
--- tomcat/trunk/res/checkstyle/checkstyle.xml (original)
+++ tomcat/trunk/res/checkstyle/checkstyle.xml Sun Sep  7 22:49:17 2014
@@ -43,9 +43,9 @@
               
value="${tomcat.output}/res/checkstyle/cachefile-checkstyle.xml"/>
 
     <!-- Block Checks -->
-    <!--  ~60 errors
-    <module name="AvoidNestedBlocks"/>
-    -->
+    <module name="AvoidNestedBlocks">
+      <property name="allowInSwitchCase" value="true"/>
+    </module>
 
     <!-- Coding -->
     <module name="IllegalInstantiation"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to