Add @SuppressWarnings("fallthrough") to method with intentional fallthrough

This commit is contained in:
Sam Harwell 2012-12-14 09:43:21 -06:00
parent 0504334d08
commit 2582d33085
1 changed files with 1 additions and 0 deletions

View File

@ -245,6 +245,7 @@ public class ErrorManager {
// S U P P O R T C O D E // S U P P O R T C O D E
@SuppressWarnings("fallthrough")
public void emit(ErrorType etype, ANTLRMessage msg) { public void emit(ErrorType etype, ANTLRMessage msg) {
switch ( etype.severity ) { switch ( etype.severity ) {
case WARNING_ONE_OFF: case WARNING_ONE_OFF: