1
2
3
4
5
6
7
8
9
10
11
12
13 package com.puppycrawl.tools.checkstyle.checks.whitespace.emptylineseparator;
14
15 import javax.annotation.Nullable;
16
17 public class InputEmptyLineSeparatorWithJavadoc2 {
18
19 public static class Good {
20
21 public int [][] myInt = null;
22
23
24 public int myOtherInt[][] = null;
25
26
27
28
29 public static
30 int [][] test10() throws Exception {
31 return new int [][] {};
32 }
33
34
35
36
37
38 public static
39 int [] test11() throws Exception {
40 return new int [] {};
41 }
42
43
44
45
46
47 public static
48 int [] test12() throws Exception {
49 return new int [] {};
50 }
51
52
53
54
55
56 public static
57 @Nullable int [] test13() throws Exception {
58 return new int [] {};
59 }
60 }
61
62 public static class Bad {
63
64
65
66 public int [][] myInt = null;
67
68
69
70
71 public int myOtherInt[][] = null;
72
73
74
75
76
77
78 public static
79 int [][] test10() throws Exception {
80
81 return new int [][] {};
82 }
83
84
85
86
87
88
89 public static
90 int [] test11() throws Exception {
91
92 return new int [] {};
93 }
94
95
96
97
98
99
100 public static
101 int [] test12() throws Exception {
102
103 return new int [] {};
104 }
105
106
107
108
109
110
111 public static
112 @Nullable int [] test13() throws Exception {
113
114 return new int [] {};
115 }
116
117 }
118 }