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:
Michal Kordas 2015-08-14 23:42:31 +02:00 committed by Roman Ivanov
parent 027d1e2c99
commit fe251ed9ff
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@ public final class AnnotationUseStyleCheck extends Check {
case EXPANDED:
checkExpandedStyle(annotation);
break;
case IGNORE:
default:
break;
}