Add missing case in switch. #1555
Fixes `EnumSwitchStatementWhichMissesCases` inspection violation. Description: >Reports switch statements over enumerated types which do not include all of the enumerated type's elements as cases.
This commit is contained in:
parent
027d1e2c99
commit
fe251ed9ff
|
|
@ -265,6 +265,7 @@ public final class AnnotationUseStyleCheck extends Check {
|
|||
case EXPANDED:
|
||||
checkExpandedStyle(annotation);
|
||||
break;
|
||||
case IGNORE:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue