Checkstyle Results
The following document contains the results of
Checkstyle.
Summary
| Files | Infos | Warnings | Errors |
| 41 | 0 | 0 | 1634 |
Files
org/codehaus/classworlds/BytesURLConnection.java
| Error | Line |
| File does not end with a newline. |
0
|
org/codehaus/classworlds/BytesURLConnection.java
| Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
10
|
| '{' should be on the previous line. |
15
|
| Missing a Javadoc comment. |
16
|
| Variable 'content' must be private and have accessor methods. |
16
|
| Missing a Javadoc comment. |
18
|
| Variable 'offset' must be private and have accessor methods. |
18
|
| Missing a Javadoc comment. |
20
|
| Variable 'length' must be private and have accessor methods. |
20
|
| Missing a Javadoc comment. |
22
|
| Parameter url should be final. |
22
|
| Parameter content should be final. |
22
|
| 'content' hides a field. |
22
|
| '{' should be on the previous line. |
23
|
| Missing a Javadoc comment. |
28
|
| '{' should be on the previous line. |
29
|
| Method 'getInputStream' is not designed for extension - needs to be abstract, final or empty. |
32
|
| Missing a Javadoc comment. |
32
|
| '{' should be on the previous line. |
33
|
org/codehaus/classworlds/BytesURLStreamHandler.java
| Error | Line |
| File does not end with a newline. |
0
|
org/codehaus/classworlds/BytesURLStreamHandler.java
| Error | Line |
| Missing a header - not enough lines in file. |
1
|
| '{' should be on the previous line. |
13
|
| Missing a Javadoc comment. |
14
|
| Variable 'content' must be private and have accessor methods. |
14
|
| Missing a Javadoc comment. |
16
|
| Variable 'offset' must be private and have accessor methods. |
16
|
| Missing a Javadoc comment. |
18
|
| Variable 'length' must be private and have accessor methods. |
18
|
| Missing a Javadoc comment. |
20
|
| Parameter content should be final. |
20
|
| 'content' hides a field. |
20
|
| '{' should be on the previous line. |
21
|
| Method 'openConnection' is not designed for extension - needs to be abstract, final or empty. |
25
|
| Missing a Javadoc comment. |
25
|
| Parameter url should be final. |
25
|
| '{' should be on the previous line. |
26
|
org/codehaus/classworlds/ClassRealm.java
| Error | Line |
| Line does not match expected header line of ''. |
1
|
| '{' should be on the previous line. |
67
|
| Missing a Javadoc comment. |
116
|
| '(' is followed by whitespace. |
116
|
| ')' is preceded with whitespace. |
116
|
| Missing a Javadoc comment. |
118
|
| '(' is followed by whitespace. |
118
|
| ')' is preceded with whitespace. |
118
|
| Missing a Javadoc comment. |
120
|
| Unused @param tag for 'off'. |
141
|
| Unused @param tag for 'len'. |
142
|
| Redundant 'public' modifier. |
144
|
| Line contains a tab character. |
145
|
| Expected @throws tag for 'ClassNotFoundException'. |
145
|
| '(' is followed by whitespace. |
151
|
| ')' is preceded with whitespace. |
151
|
| Expected an @return tag. |
157
|
| '(' is followed by whitespace. |
157
|
| ')' is preceded with whitespace. |
157
|
| Line has trailing spaces. |
164
|
| Line has trailing spaces. |
166
|
| Line has trailing spaces. |
167
|
org/codehaus/classworlds/ClassWorld.java
| Error | Line |
| Line does not match expected header line of ''. |
1
|
| Line has trailing spaces. |
7
|
| Line has trailing spaces. |
15
|
| Line has trailing spaces. |
20
|
| Line has trailing spaces. |
25
|
| Line has trailing spaces. |
30
|
| Line has trailing spaces. |
33
|
| Line has trailing spaces. |
46
|
| '{' should be on the previous line. |
60
|
| '{' should be on the previous line. |
75
|
| Line has trailing spaces. |
78
|
| Line has trailing spaces. |
82
|
| Method 'newRealm' is not designed for extension - needs to be abstract, final or empty. |
92
|
| Parameter id should be final. |
92
|
| '{' should be on the previous line. |
93
|
| Line has trailing spaces. |
96
|
| Method 'newRealm' is not designed for extension - needs to be abstract, final or empty. |
106
|
| Parameter id should be final. |
106
|
| Parameter classLoader should be final. |
107
|
| Expected @param tag for 'classLoader'. |
107
|
| '{' should be on the previous line. |
109
|
| '(' is followed by whitespace. |
110
|
| '(' is followed by whitespace. |
110
|
| ')' is preceded with whitespace. |
110
|
| ')' is preceded with whitespace. |
110
|
| '{' should be on the previous line. |
111
|
| '(' is followed by whitespace. |
112
|
| ')' is preceded with whitespace. |
113
|
| Line has trailing spaces. |
117
|
| '(' is followed by whitespace. |
120
|
| ')' is preceded with whitespace. |
120
|
| '{' should be on the previous line. |
121
|
| Line has trailing spaces. |
123
|
| '(' is followed by whitespace. |
124
|
| Line is longer than 80 characters. |
125
|
| Line is longer than 80 characters. |
126
|
| ')' is preceded with whitespace. |
126
|
| Line has trailing spaces. |
127
|
| '(' is followed by whitespace. |
128
|
| ')' is preceded with whitespace. |
128
|
| Line has trailing spaces. |
129
|
| '(' is followed by whitespace. |
130
|
| ')' is preceded with whitespace. |
130
|
| '}' should be on the same line. |
131
|
| '{' should be on the previous line. |
133
|
| '(' is followed by whitespace. |
134
|
| Line has trailing spaces. |
135
|
| ')' is preceded with whitespace. |
136
|
| '(' is followed by whitespace. |
139
|
| ')' is preceded with whitespace. |
140
|
| Method 'disposeRealm' is not designed for extension - needs to be abstract, final or empty. |
145
|
| Missing a Javadoc comment. |
145
|
| Parameter id should be final. |
145
|
| '{' should be on the previous line. |
146
|
| '(' is followed by whitespace. |
147
|
| ')' is preceded with whitespace. |
147
|
| Line has trailing spaces. |
148
|
| Method 'getRealm' is not designed for extension - needs to be abstract, final or empty. |
161
|
| Parameter id should be final. |
161
|
| '{' should be on the previous line. |
162
|
| '(' is followed by whitespace. |
163
|
| '(' is followed by whitespace. |
163
|
| ')' is preceded with whitespace. |
163
|
| ')' is preceded with whitespace. |
163
|
| '{' should be on the previous line. |
164
|
| '(' is followed by whitespace. |
165
|
| ')' is preceded with whitespace. |
165
|
| '(' is followed by whitespace. |
168
|
| ')' is preceded with whitespace. |
169
|
| Method 'getRealmImpl' is not designed for extension - needs to be abstract, final or empty. |
181
|
| Parameter id should be final. |
181
|
| '{' should be on the previous line. |
182
|
| '(' is followed by whitespace. |
183
|
| ')' is preceded with whitespace. |
183
|
| Method 'getRealms' is not designed for extension - needs to be abstract, final or empty. |
191
|
| '{' should be on the previous line. |
192
|
| Line has trailing spaces. |
200
|
| Method 'loadClass' is not designed for extension - needs to be abstract, final or empty. |
204
|
| Parameter name should be final. |
204
|
| '{' should be on the previous line. |
205
|
| '(' is followed by whitespace. |
206
|
| ')' is preceded with whitespace. |
206
|
org/codehaus/classworlds/ClassWorldException.java
| Error | Line |
| Line does not match expected header line of ''. |
1
|
| Line has trailing spaces. |
7
|
| Line has trailing spaces. |
15
|
| Line has trailing spaces. |
20
|
| Line has trailing spaces. |
25
|
| Line has trailing spaces. |
30
|
| Line has trailing spaces. |
33
|
| Line has trailing spaces. |
46
|
| Line is longer than 80 characters. |
53
|
| '{' should be on the previous line. |
56
|
| 'world' hides a field. |
72
|
| '{' should be on the previous line. |
73
|
| Line has trailing spaces. |
76
|
| 'world' hides a field. |
82
|
| '{' should be on the previous line. |
83
|
| '(' is followed by whitespace. |
84
|
| ')' is preceded with whitespace. |
84
|
| Line has trailing spaces. |
87
|
| Method 'getWorld' is not designed for extension - needs to be abstract, final or empty. |
96
|
| '{' should be on the previous line. |
97
|
org/codehaus/classworlds/ConfigurationException.java
| Error | Line |
| Line does not match expected header line of ''. |
1
|
| Line has trailing spaces. |
7
|
| Line has trailing spaces. |
15
|
| Line has trailing spaces. |
20
|
| Line has trailing spaces. |
25
|
| Line has trailing spaces. |
30
|
| Line has trailing spaces. |
33
|
| Line has trailing spaces. |
46
|
| Line is longer than 80 characters. |
53
|
| '{' should be on the previous line. |
56
|
| Parameter msg should be final. |
61
|
| '{' should be on the previous line. |
62
|
| '(' is followed by whitespace. |
63
|
| ')' is preceded with whitespace. |
63
|
| Line has trailing spaces. |
65
|
| Parameter msg should be final. |
72
|
| Parameter lineNo should be final. |
72
|
| Parameter line should be final. |
72
|
| '{' should be on the previous line. |
73
|
| '(' is followed by whitespace. |
74
|
| ')' is preceded with whitespace. |
74
|
org/codehaus/classworlds/Configurator.java
| Error | Line |
| Line does not match expected header line of ''. |
1
|
| '{' should be on the previous line. |
75
|
| Missing a Javadoc comment. |
95
|
| Parameter launcher should be final. |
108
|
| 'launcher' hides a field. |
108
|
| '{' should be on the previous line. |
109
|
| Unused @param tag for 'classWorld'. |
117
|
| Parameter world should be final. |
119
|
| 'world' hides a field. |
119
|
| Expected @param tag for 'world'. |
119
|
| '{' should be on the previous line. |
120
|
| Line is longer than 80 characters. |
129
|
| Unused @param tag for 'classWorld'. |
131
|
| Method 'setClassWorld' is not designed for extension - needs to be abstract, final or empty. |
133
|
| Parameter world should be final. |
133
|
| 'world' hides a field. |
133
|
| Expected @param tag for 'world'. |
133
|
| '{' should be on the previous line. |
134
|
| Line is longer than 80 characters. |
147
|
| Line is longer than 80 characters. |
148
|
| Method 'configure' is not designed for extension - needs to be abstract, final or empty. |
151
|
| Parameter is should be final. |
151
|
| Line is longer than 80 characters. |
152
|
| Redundant throws: 'MalformedURLException' is subclass of 'IOException'. |
152
|
| Line is longer than 80 characters. |
154
|
| '(' is followed by whitespace. |
154
|
| '(' is followed by whitespace. |
154
|
| ')' is preceded with whitespace. |
154
|
| ')' is preceded with whitespace. |
154
|
| 'if' construct must use '{}'s. |
156
|
| '(' is followed by whitespace. |
165
|
| ')' is preceded with whitespace. |
165
|
| '{' should be on the previous line. |
166
|
| '(' is followed by whitespace. |
169
|
| ')' is preceded with whitespace. |
169
|
| '{' should be on the previous line. |
170
|
| '(' is followed by whitespace. |
177
|
| '(' is followed by whitespace. |
177
|
| ')' is preceded with whitespace. |
177
|
| ')' is preceded with whitespace. |
177
|
| '{' should be on the previous line. |
178
|
| '(' is followed by whitespace. |
182
|
| '(' is followed by whitespace. |
182
|
| ')' is preceded with whitespace. |
182
|
| ')' is preceded with whitespace. |
182
|
| '{' should be on the previous line. |
183
|
| '(' is followed by whitespace. |
184
|
| ')' is preceded with whitespace. |
184
|
| '{' should be on the previous line. |
185
|
| Line is longer than 80 characters. |
186
|
| '(' is followed by whitespace. |
186
|
| ')' is preceded with whitespace. |
186
|
| '(' is followed by whitespace. |
189
|
| ')' is preceded with whitespace. |
189
|
| '(' is followed by whitespace. |
191
|
| ')' is preceded with whitespace. |
191
|
| '(' is followed by whitespace. |
192
|
| ')' is preceded with whitespace. |
192
|
| '{' should be on the previous line. |
193
|
| Line is longer than 80 characters. |
194
|
| '(' is followed by whitespace. |
194
|
| ')' is preceded with whitespace. |
194
|
| '(' is followed by whitespace. |
197
|
| ')' is preceded with whitespace. |
198
|
| '(' is followed by whitespace. |
200
|
| '4' is a magic number. |
200
|
| ')' is preceded with whitespace. |
200
|
| 'if' construct must use '{}'s. |
202
|
| Line is longer than 80 characters. |
202
|
| '(' is followed by whitespace. |
202
|
| ')' is preceded with whitespace. |
203
|
| '}' should be on the same line. |
206
|
| '(' is followed by whitespace. |
207
|
| '(' is followed by whitespace. |
207
|
| ')' is preceded with whitespace. |
207
|
| ')' is preceded with whitespace. |
207
|
| '{' should be on the previous line. |
208
|
| '(' is followed by whitespace. |
209
|
| ')' is preceded with whitespace. |
209
|
| '(' is followed by whitespace. |
211
|
| ')' is preceded with whitespace. |
211
|
| '{' should be on the previous line. |
212
|
| Line is longer than 80 characters. |
213
|
| '(' is followed by whitespace. |
213
|
| ')' is preceded with whitespace. |
213
|
| '(' is followed by whitespace. |
216
|
| ')' is preceded with whitespace. |
217
|
| '(' is followed by whitespace. |
219
|
| ')' is preceded with whitespace. |
219
|
| Line is longer than 80 characters. |
221
|
| '(' is followed by whitespace. |
222
|
| ')' is preceded with whitespace. |
222
|
| '}' should be on the same line. |
223
|
| '(' is followed by whitespace. |
224
|
| '(' is followed by whitespace. |
224
|
| ')' is preceded with whitespace. |
224
|
| ')' is preceded with whitespace. |
224
|
| '{' should be on the previous line. |
225
|
| '(' is followed by whitespace. |
226
|
| ')' is preceded with whitespace. |
226
|
| '{' should be on the previous line. |
227
|
| Line is longer than 80 characters. |
228
|
| '(' is followed by whitespace. |
228
|
| ')' is preceded with whitespace. |
228
|
| '(' is followed by whitespace. |
231
|
| ')' is preceded with whitespace. |
231
|
| '(' is followed by whitespace. |
233
|
| ')' is preceded with whitespace. |
233
|
| '(' is followed by whitespace. |
234
|
| ')' is preceded with whitespace. |
234
|
| '{' should be on the previous line. |
235
|
| Line is longer than 80 characters. |
236
|
| '(' is followed by whitespace. |
236
|
| ')' is preceded with whitespace. |
236
|
| '(' is followed by whitespace. |
239
|
| ')' is preceded with whitespace. |
240
|
| '(' is followed by whitespace. |
242
|
| '4' is a magic number. |
242
|
| ')' is preceded with whitespace. |
242
|
| '(' is followed by whitespace. |
244
|
| ')' is preceded with whitespace. |
245
|
| '}' should be on the same line. |
247
|
| '(' is followed by whitespace. |
248
|
| '(' is followed by whitespace. |
248
|
| ')' is preceded with whitespace. |
248
|
| ')' is preceded with whitespace. |
248
|
| '{' should be on the previous line. |
249
|
| Line is longer than 80 characters. |
250
|
| '(' is followed by whitespace. |
250
|
| ')' is preceded with whitespace. |
250
|
| '(' is followed by whitespace. |
252
|
| ')' is preceded with whitespace. |
252
|
| '(' is followed by whitespace. |
254
|
| '(' is followed by whitespace. |
254
|
| ')' is preceded with whitespace. |
254
|
| ')' is preceded with whitespace. |
254
|
| '{' should be on the previous line. |
255
|
| '(' is followed by whitespace. |
256
|
| ')' is preceded with whitespace. |
256
|
| '}' should be on the same line. |
257
|
| '{' should be on the previous line. |
259
|
| '(' is followed by whitespace. |
260
|
| ')' is preceded with whitespace. |
260
|
| '(' is followed by whitespace. |
262
|
| ')' is preceded with whitespace. |
262
|
| '{' should be on the previous line. |
263
|
| '(' is followed by whitespace. |
264
|
| ')' is preceded with whitespace. |
264
|
| '}' should be on the same line. |
265
|
| '{' should be on the previous line. |
267
|
| '{' should be on the previous line. |
269
|
| '(' is followed by whitespace. |
270
|
| '(' is followed by whitespace. |
270
|
| ')' is preceded with whitespace. |
270
|
| ')' is preceded with whitespace. |
270
|
| '}' should be on the same line. |
271
|
| '{' should be on the previous line. |
273
|
| '(' is followed by whitespace. |
|