forked from jasder/antlr
Add @SuppressWarnings("fallthrough") to method with intentional fallthrough
This commit is contained in:
parent
0504334d08
commit
2582d33085
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue