JAL-1854 commented FallThrough rule
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 26 Aug 2016 11:11:57 +0000 (12:11 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 26 Aug 2016 11:11:57 +0000 (12:11 +0100)
resources/checkstyle/checkstyle.xml

index 46d4bd7..4189a21 100644 (file)
                </module>
                
                <!-- 
-                       Disallows fall-through in switch statements i.e. a case without a break, return, throw or continue 
-                       upgrade this to error once AnnotationRenderer is recoded!
+                       Disallows fall-through in switch statements 
+                       i.e. a case without a break, return, throw or continue 
+                       NB a comment with the words "fall[s] through" suppresses this message
                 -->
                <module name="FallThrough">
-                       <property name="severity" value="warning"/>
+                       <property name="severity" value="error" />
                </module>
                
                <!--