1
2
3
4
5
6
7
8 package com.puppycrawl.tools.checkstyle.checks.indentation.commentsindentation;
9
10 public class InputCommentsIndentationInMultiblockStructuresOne {
11 void foo() {
12 if (true) {
13 assert true;
14
15 } else {}
16
17 if (true) {
18 assert true;
19
20 }
21 else {}
22
23 if (true) {
24 assert true;
25
26 } else {}
27
28 if (true) {
29 assert true;
30
31 } else {}
32
33 try {
34 assert true;
35
36 } catch (Exception ex) {}
37
38 try {
39 assert true;
40
41 }
42 catch (Exception ex) {}
43
44 try {
45 assert true;
46
47 } catch (Exception ex) {}
48
49 try {
50 assert true;
51
52 } catch (Exception ex) {}
53
54 try {
55 assert true;
56
57 } finally {}
58
59 try {
60 assert true;
61
62 }
63 finally {}
64
65 try {
66 assert true;
67
68 } finally {}
69
70 try {
71 assert true;
72
73 } finally {}
74
75 try {} catch (Exception ex) {
76 assert true;
77
78 } finally {}
79
80 try {} catch (Exception ex) {
81 assert true;
82
83 }
84 finally {}
85
86 try {} catch (Exception ex) {
87 assert true;
88
89 } finally {}
90
91 try {} catch (Exception ex) {
92 assert true;
93
94 } finally {}
95
96 try {} catch (ClassCastException ex) {
97 assert true;
98
99 } catch (Exception ex) {}
100
101 try {} catch (ClassCastException ex) {
102 assert true;
103
104 }
105 catch (Exception ex) {}
106
107 try {} catch (ClassCastException ex) {
108 assert true;
109
110 } catch (Exception ex) {}
111
112 try {} catch (ClassCastException ex) {
113 assert true;
114
115 } catch (Exception ex) {}
116
117 }
118 }