1
2
3
4
5
6
7
8 package com.puppycrawl.tools.checkstyle.checks.indentation.commentsindentation;
9
10 public class InputCommentsIndentationInSwitchBlockThree {
11
12 private static void foo1() {
13 if (true) {
14 switch(1) {
15 case 0:
16
17 case 1:
18
19 int b = 10;
20 default:
21
22 }
23
24 }
25 }
26
27 public void foo7() {
28 int a = 2;
29 String s = "";
30 switch (a) {
31
32
33
34 case 1:
35 case 2:
36
37
38 foo1();
39
40 case 3:
41
42
43
44 case 4:
45
46 case 5:
47 s.toString().toString().toString();
48
49
50
51 default:
52 }
53 }
54
55 public void foo8() {
56 int a = 2;
57 String s = "";
58 switch (a) {
59
60
61
62 case 1:
63 case 2:
64
65
66 foo1();
67
68 case 3:
69
70
71 s.toString().toString().toString();
72
73 case 4:
74
75 default:
76 }
77 }
78
79 public void foo9() {
80 int a = 5;
81 switch (a) {
82 case 1:
83 case 2:
84
85 }
86 }
87
88 public void foo10() {
89 int a = 5;
90 switch (a) {
91 case 1:
92 default:
93
94 }
95 }
96
97 public void foo11() {
98 int a = 5;
99 switch (a) {
100 case 1:
101 case 2:
102
103 }
104 }
105
106 public void foo12() {
107 int a = 5;
108 switch (a) {
109
110 case 1:
111 }
112 }
113 }