JAL-1854 commented FallThrough rule
[jalview.git] / 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>
                
                <!--