View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.blocks.needbraces;
2   
3   public class InputNeedBracesEmptyDefault {
4       int value;
5       private void main() {
6           switch (value) {
7               default:
8           }
9       }
10      private void main1() {
11          switch (value) {
12              case 1:
13          }
14      }
15  }
16  
17  @interface Example {
18      String priority() default "value";
19  }