Checkstyle Results
The following document contains the results of
Checkstyle
.
Summary
Files | Infos | Warnings | Errors |
15 | 0 | 0 | 624 |
Files
org/apache/avalon/cornerstone/blocks/scheduler/BinaryHeap.java
Error | Line |
| Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. |
1
|
| Line has trailing spaces. |
1
|
| Line has trailing spaces. |
5
|
| Line has trailing spaces. |
6
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| '{' should be on the previous line. |
34
|
| Missing a Javadoc comment. |
35
|
| '{' should be on the previous line. |
37
|
| Missing a Javadoc comment. |
38
|
| Redundant 'final' modifier. |
38
|
| '(' is followed by whitespace. |
38
|
| ')' is preceded with whitespace. |
38
|
| '{' should be on the previous line. |
39
|
| '(' is followed by whitespace. |
40
|
| 'cast' is not followed by whitespace. |
40
|
| ')' is preceded with whitespace. |
40
|
| '(' is followed by whitespace. |
40
|
| ')' is preceded with whitespace. |
40
|
| Missing a Javadoc comment. |
44
|
| '{' should be on the previous line. |
46
|
| Missing a Javadoc comment. |
47
|
| Redundant 'final' modifier. |
47
|
| '(' is followed by whitespace. |
47
|
| ')' is preceded with whitespace. |
47
|
| '{' should be on the previous line. |
48
|
| '(' is followed by whitespace. |
49
|
| 'cast' is not followed by whitespace. |
49
|
| ')' is preceded with whitespace. |
49
|
| '(' is followed by whitespace. |
49
|
| ')' is preceded with whitespace. |
49
|
| Missing a Javadoc comment. |
65
|
| Missing a Javadoc comment. |
66
|
| Missing a Javadoc comment. |
67
|
| Name 'm_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
67
|
| Missing a Javadoc comment. |
68
|
| Name 'm_elements' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
68
|
| Missing a Javadoc comment. |
69
|
| Name 'm_comparator' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
69
|
| '{' should be on the previous line. |
75
|
| '(' is followed by whitespace. |
76
|
| ')' is preceded with whitespace. |
76
|
| '(' is followed by whitespace. |
84
|
| ')' is preceded with whitespace. |
84
|
| '{' should be on the previous line. |
85
|
| '(' is followed by whitespace. |
86
|
| ')' is preceded with whitespace. |
86
|
| '(' is followed by whitespace. |
95
|
| ')' is preceded with whitespace. |
95
|
| '{' should be on the previous line. |
96
|
| '(' is followed by whitespace. |
97
|
| ')' is preceded with whitespace. |
97
|
| '(' is followed by whitespace. |
107
|
| ')' is preceded with whitespace. |
107
|
| '{' should be on the previous line. |
108
|
| Line is longer than 80 characters. |
118
|
| '(' is followed by whitespace. |
120
|
| ')' is preceded with whitespace. |
120
|
| '{' should be on the previous line. |
121
|
| '(' is followed by whitespace. |
122
|
| ')' is preceded with whitespace. |
122
|
| Line is longer than 80 characters. |
131
|
| '(' is followed by whitespace. |
133
|
| ')' is preceded with whitespace. |
133
|
| '{' should be on the previous line. |
134
|
| '(' is followed by whitespace. |
135
|
| Avoid inline conditionals. |
135
|
| ')' is preceded with whitespace. |
135
|
| '{' should be on the previous line. |
142
|
| '{' should be on the previous line. |
152
|
| '(' is followed by whitespace. |
153
|
| ')' is preceded with whitespace. |
153
|
| '{' should be on the previous line. |
162
|
| '(' is followed by whitespace. |
164
|
| ')' is preceded with whitespace. |
164
|
| '{' should be on the previous line. |
173
|
| '(' is followed by whitespace. |
182
|
| ')' is preceded with whitespace. |
182
|
| '{' should be on the previous line. |
183
|
| 'if' is not followed by whitespace. |
184
|
| '(' is followed by whitespace. |
184
|
| ')' is preceded with whitespace. |
184
|
| '{' should be on the previous line. |
185
|
| '(' is followed by whitespace. |
189
|
| ')' is preceded with whitespace. |
189
|
| Redundant throws: 'NoSuchElementException' is unchecked exception. |
198
|
| '{' should be on the previous line. |
199
|
| 'if' is not followed by whitespace. |
200
|
| '(' is followed by whitespace. |
200
|
| ')' is preceded with whitespace. |
200
|
| '{' should be on the previous line. |
201
|
| '}' should be on the same line. |
203
|
| '{' should be on the previous line. |
205
|
| Redundant throws: 'NoSuchElementException' is unchecked exception. |
216
|
| '{' should be on the previous line. |
217
|
| 'if' is not followed by whitespace. |
225
|
| '(' is followed by whitespace. |
225
|
| ')' is preceded with whitespace. |
225
|
| '{' should be on the previous line. |
226
|
| '(' is followed by whitespace. |
227
|
| ')' is preceded with whitespace. |
227
|
| '(' is followed by whitespace. |
238
|
| ')' is preceded with whitespace. |
238
|
| '{' should be on the previous line. |
239
|
| 'while' is not followed by whitespace. |
245
|
| '(' is followed by whitespace. |
245
|
| ')' is preceded with whitespace. |
245
|
| '{' should be on the previous line. |
246
|
| 'if' is not followed by whitespace. |
249
|
| '(' is followed by whitespace. |
249
|
| '&&' should be on a new line. |
249
|
| Line is longer than 80 characters. |
250
|
| '(' is followed by whitespace. |
250
|
| ')' is preceded with whitespace. |
250
|
| ')' is preceded with whitespace. |
250
|
| 'if' is not followed by whitespace. |
256
|
| '(' is followed by whitespace. |
256
|
| '(' is followed by whitespace. |
256
|
| ')' is preceded with whitespace. |
256
|
| ')' is preceded with whitespace. |
256
|
| '{' should be on the previous line. |
257
|
| '(' is followed by whitespace. |
274
|
| ')' is preceded with whitespace. |
274
|
| '{' should be on the previous line. |
275
|
| 'while' is not followed by whitespace. |
281
|
| '(' is followed by whitespace. |
281
|
| '&&' should be on a new line. |
281
|
| '(' is followed by whitespace. |
282
|
| ')' is preceded with whitespace. |
282
|
| ')' is preceded with whitespace. |
282
|
| '{' should be on the previous line. |
283
|
| '{' should be on the previous line. |
296
|
| '(' is followed by whitespace. |
299
|
| ')' is preceded with whitespace. |
299
|
| '{' should be on the previous line. |
310
|
| '(' is followed by whitespace. |
313
|
| ')' is preceded with whitespace. |
313
|
| 'for' is not followed by whitespace. |
315
|
| '(' is followed by whitespace. |
315
|
| ')' is preceded with whitespace. |
315
|
| '{' should be on the previous line. |
316
|
| 'if' is not followed by whitespace. |
317
|
| '(' is followed by whitespace. |
317
|
| ')' is preceded with whitespace. |
317
|
| '{' should be on the previous line. |
318
|
| '(' is followed by whitespace. |
319
|
| ')' is preceded with whitespace. |
319
|
| '(' is followed by whitespace. |
321
|
| ')' is preceded with whitespace. |
321
|
| '(' is followed by whitespace. |
324
|
| ')' is preceded with whitespace. |
324
|
org/apache/avalon/cornerstone/blocks/scheduler/DefaultTimeScheduler.java
Error | Line |
| Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. |
1
|
| Line has trailing spaces. |
1
|
| Line has trailing spaces. |
5
|
| Line has trailing spaces. |
6
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line is longer than 80 characters. |
47
|
| Line is longer than 80 characters. |
51
|
| Missing a Javadoc comment. |
56
|
| Name 'm_entries' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
56
|
| Missing a Javadoc comment. |
57
|
| Name 'm_priorityQueue' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
57
|
| '(' is followed by whitespace. |
58
|
| ')' is preceded with whitespace. |
58
|
| Missing a Javadoc comment. |
59
|
| Name 'm_threadManager' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
59
|
| Missing a Javadoc comment. |
60
|
| Name 'm_running' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
60
|
| Missing a Javadoc comment. |
61
|
| Name 'm_triggerFailureListeners' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
61
|
| Missing a Javadoc comment. |
73
|
| '{' should be on the previous line. |
74
|
| Missing a Javadoc comment. |
78
|
| '{' should be on the previous line. |
79
|
| Missing a Javadoc comment. |
83
|
| '(' is followed by whitespace. |
83
|
| Parameter running should be final. |
83
|
| ')' is preceded with whitespace. |
83
|
| '{' should be on the previous line. |
84
|
| Missing a Javadoc comment. |
88
|
| '{' should be on the previous line. |
89
|
| Missing a Javadoc comment. |
93
|
| '{' should be on the previous line. |
94
|
| Missing a Javadoc comment. |
98
|
| '{' should be on the previous line. |
99
|
| Line is longer than 80 characters. |
110
|
| Method 'service' is not designed for extension - needs to be abstract, final or empty. |
112
|
| '(' is followed by whitespace. |
112
|
| ')' is preceded with whitespace. |
112
|
| Expected @throws tag for 'ServiceException'. |
113
|
| '{' should be on the previous line. |
114
|
| Line is longer than 80 characters. |
115
|
| 'cast' is not followed by whitespace. |
115
|
| '(' is followed by whitespace. |
115
|
| ')' is preceded with whitespace. |
115
|
| Method 'dispose' is not designed for extension - needs to be abstract, final or empty. |
118
|
| Missing a Javadoc comment. |
118
|
| '{' should be on the previous line. |
119
|
| 'if' is not followed by whitespace. |
120
|
| '(' is followed by whitespace. |
120
|
| ')' is preceded with whitespace. |
120
|
| '{' should be on the previous line. |
121
|
| '(' is followed by whitespace. |
122
|
| ')' is preceded with whitespace. |
122
|
| Method 'start' is not designed for extension - needs to be abstract, final or empty. |
128
|
| Missing a Javadoc comment. |
128
|
| Redundant throws: 'Exception' is unchecked exception. |
129
|
| '{' should be on the previous line. |
130
|
| '(' is followed by whitespace. |
132
|
| ')' is preceded with whitespace. |
132
|
| Method 'stop' is not designed for extension - needs to be abstract, final or empty. |
135
|
| Missing a Javadoc comment. |
135
|
| '{' should be on the previous line. |
136
|
| 'synchronized' is not followed by whitespace. |
138
|
| '(' is followed by whitespace. |
138
|
| ')' is preceded with whitespace. |
138
|
| '{' should be on the previous line. |
139
|
| Method 'run' is not designed for extension - needs to be abstract, final or empty. |
151
|
| '{' should be on the previous line. |
152
|
| 'while' is not followed by whitespace. |
155
|
| '(' is followed by whitespace. |
155
|
| ')' is preceded with whitespace. |
155
|
| '{' should be on the previous line. |
156
|
| 'if' is not followed by whitespace. |
159
|
| '(' is followed by whitespace. |
159
|
| ')' is preceded with whitespace. |
159
|
| '{' should be on the previous line. |
160
|
| 'synchronized' is not followed by whitespace. |
162
|
| '(' is followed by whitespace. |
162
|
| ')' is preceded with whitespace. |
162
|
| '{' should be on the previous line. |
163
|
| 'if' construct must use '{}'s. |
165
|
| 'if' is not followed by whitespace. |
165
|
| '(' is followed by whitespace. |
165
|
| ')' is preceded with whitespace. |
165
|
| 'if' is not followed by whitespace. |
169
|
| '(' is followed by whitespace. |
169
|
| ')' is preceded with whitespace. |
169
|
| '{' should be on the previous line. |
170
|
| 'if' is not followed by whitespace. |
183
|
| '(' is followed by whitespace. |
183
|
| ')' is preceded with whitespace. |
183
|
| '{' should be on the previous line. |
184
|
| Line has trailing spaces. |
186
|
| '(' is followed by whitespace. |
186
|
| ')' is preceded with whitespace. |
186
|
| '}' should be on the same line. |
188
|
| 'if' is not followed by whitespace. |
189
|
| '(' is followed by whitespace. |
189
|
| ')' is preceded with whitespace. |
189
|
| '{' should be on the previous line. |
190
|
| '{' should be on the previous line. |
203
|
| 'synchronized' is not followed by whitespace. |
204
|
| '(' is followed by whitespace. |
204
|
| ')' is preceded with whitespace. |
204
|
| '{' should be on the previous line. |
205
|
| '(' is followed by whitespace. |
206
|
| ')' is preceded with whitespace. |
206
|
| '}' should be on the same line. |
208
|
| 'catch' is not followed by whitespace. |
209
|
| '(' is followed by whitespace. |
209
|
| ')' is preceded with whitespace. |
209
|
| '{' should be on the previous line. |
210
|
| Must have at least one statement. |
210
|
| First sentence should end with a period. |
218
|
| Method 'addTriggerFailureListener' is not designed for extension - needs to be abstract, final or empty. |
222
|
| '(' is followed by whitespace. |
222
|
| Parameter listener should be final. |
222
|
| ')' is preceded with whitespace. |
222
|
| '{' should be on the previous line. |
223
|
| '(' is followed by whitespace. |
224
|
| ')' is preceded with whitespace. |
224
|
| First sentence should end with a period. |
227
|
| Method 'removeTriggerFailureListener' is not designed for extension - needs to be abstract, final or empty. |
231
|
| '(' is followed by whitespace. |
231
|
| Parameter listener should be final. |
231
|
| ')' is preceded with whitespace. |
231
|
| '(' is followed by whitespace. |
233
|
| ')' is preceded with whitespace. |
233
|
| Method 'addTrigger' is not designed for extension - needs to be abstract, final or empty. |
244
|
| '(' is followed by whitespace. |
244
|
| ')' is preceded with whitespace. |
246
|
| '{' should be on the previous line. |
247
|
| '{' should be on the previous line. |
249
|
| '(' is followed by whitespace. |
250
|
| ')' is preceded with whitespace. |
250
|
| '}' should be on the same line. |
251
|
| 'catch' is not followed by whitespace. |
252
|
| '(' is followed by whitespace. |
252
|
| ')' is preceded with whitespace. |
252
|
| '{' should be on the previous line. |
253
|
| Must have at least one statement. |
253
|
| Line is longer than 80 characters. |
256
|
| '(' is followed by whitespace. |
256
|
| ')' is preceded with whitespace. |
256
|
| '(' is followed by whitespace. |
257
|
| ')' is preceded with whitespace. |
257
|
| '(' is followed by whitespace. |
258
|
| ')' is preceded with whitespace. |
258
|
| 'if' construct must use '{}'s. |
260
|
| 'if' is not followed by whitespace. |
260
|
| '(' is followed by whitespace. |
260
|
| ')' is preceded with whitespace. |
260
|
| '{' should be on the previous line. |
263
|
| 'if' is not followed by whitespace. |
264
|
| '(' is followed by whitespace. |
264
|
| ')' is preceded with whitespace. |
264
|
| '{' should be on the previous line. |
265
|
| '}' should be on the same line. |
268
|
| 'catch' is not followed by whitespace. |
269
|
| '(' is followed by whitespace. |
269
|
| ')' is preceded with whitespace. |
269
|
| '{' should be on the previous line. |
270
|
| '+' should be on a new line. |
272
|
| '(' is followed by whitespace. |
274
|
| ')' is preceded with whitespace. |
274
|
| Method 'removeTrigger' is not designed for extension - needs to be abstract, final or empty. |
284
|
| '(' is followed by whitespace. |
284
|
| Parameter name should be final. |
284
|
| ')' is preceded with whitespace. |
284
|
| Redundant throws: 'NoSuchElementException' is unchecked exception. |
285
|
| '{' should be on the previous line. |
286
|
| '(' is followed by whitespace. |
288
|
| ')' is preceded with whitespace. |
288
|
| '(' is followed by whitespace. |
290
|
| ')' is preceded with whitespace. |
290
|
| Method 'resetTrigger' is not designed for extension - needs to be abstract, final or empty. |
299
|
| '(' is followed by whitespace. |
299
|
| ')' is preceded with whitespace. |
299
|
| Redundant throws: 'NoSuchElementException' is unchecked exception. |
300
|
| '{' should be on the previous line. |
301
|
| '(' is followed by whitespace. |
302
|
| ')' is preceded with whitespace. |
302
|
| '(' is followed by whitespace. |
304
|
| ')' is preceded with whitespace. |
304
|
| Method 'getEntries' is not designed for extension - needs to be abstract, final or empty. |
315
|
| '{' should be on the previous line. |
316
|
| 'for' is not followed by whitespace. |
319
|
| '(' is followed by whitespace. |
319
|
| ';' is followed by whitespace. |
319
|
| '{' should be on the previous line. |
320
|
| Line is longer than 80 characters. |
321
|
| 'cast' is not followed by whitespace. |
321
|
| '(' is followed by whitespace. |
321
|
| ')' is preceded with whitespace. |
321
|
| '(' is followed by whitespace. |
322
|
| ')' is preceded with whitespace. |
322
|
| Line is longer than 80 characters. |
340
|
| Method 'rescheduleEntry' is not designed for extension - needs to be abstract, final or empty. |
340
|
| '(' is followed by whitespace. |
340
|
| ')' is preceded with whitespace. |
341
|
| '{' should be on the previous line. |
342
|
| 'if' is not followed by whitespace. |
345
|
| '(' is followed by whitespace. |
345
|
| ')' is preceded with whitespace. |
345
|
| '{' should be on the previous line. |
346
|
| '(' is followed by whitespace. |
347
|
| ')' is preceded with whitespace. |
349
|
| '(' is followed by whitespace. |
354
|
| ')' is preceded with whitespace. |
354
|
| '(' is followed by whitespace. |
355
|
| ')' is preceded with whitespace. |
355
|
| Line is longer than 80 characters. |
359
|
| '(' is followed by whitespace. |
359
|
| ')' is preceded with whitespace. |
359
|
| 'if' is not followed by whitespace. |
361
|
| '(' is followed by whitespace. |
361
|
| ')' is preceded with whitespace. |
361
|
| '{' should be on the previous line. |
362
|
| '(' is followed by whitespace. |
363
|
| ')' is preceded with whitespace. |
363
|
| '(' is followed by whitespace. |
364
|
| ')' is preceded with whitespace. |
364
|
| 'if' is not followed by whitespace. |
366
|
| '(' is followed by whitespace. |
366
|
| ')' is preceded with whitespace. |
366
|
| '{' should be on the previous line. |
367
|
| '}' should be on the same line. |
372
|
| '{' should be on the previous line. |
374
|
| Method 'getEntry' is not designed for extension - needs to be abstract, final or empty. |
386
|
| '(' is followed by whitespace. |
386
|
| ')' is preceded with whitespace. |
386
|
| Redundant throws: 'NoSuchElementException' is unchecked exception. |
387
|
| '{' should be on the previous line. |
388
|
| Line is longer than 80 characters. |
390
|
| 'cast' is not followed by whitespace. |
390
|
| '(' is followed by whitespace. |
390
|
| ')' is preceded with whitespace. |
390
|
| 'if' is not followed by whitespace. |
391
|
| '(' is followed by whitespace. |
391
|
| ')' is preceded with whitespace. |
391
|
| '{' should be on the previous line. |
392
|
| '}' should be on the same line. |
394
|
| '{' should be on the previous line. |
396
|
| Method 'runEntry' is not designed for extension - needs to be abstract, final or empty. |
406
|
| '(' is followed by whitespace. |
406
|
| ')' is preceded with whitespace. |
406
|
| '{' should be on the previous line. |
407
|
| '{' should be on the previous line. |
411
|
| '(' is followed by whitespace. |
412
|
| ')' is preceded with whitespace. |
412
|
| '{' should be on the previous line. |
427
|
| '(' is followed by whitespace. |
428
|
| ')' is preceded with whitespace. |
428
|
| '}' should be on the same line. |
429
|
| 'catch' is not followed by whitespace. |
430
|
| '(' is followed by whitespace. |
430
|
| ')' is preceded with whitespace. |
430
|
| '{' should be on the previous line. |
431
|
| '(' is followed by whitespace. |
433
|
| ')' is preceded with whitespace. |
433
|
| Line has trailing spaces. |
435
|
| Line contains a tab character. |
436
|
| Line contains a tab character. |
437
|
| '(' is followed by whitespace. |
437
|
| ')' is preceded with whitespace. |
437
|
| Method 'doRunEntry' is not designed for extension - needs to be abstract, final or empty. |
445
|
| '(' is followed by whitespace. |
445
|
| ')' is preceded with whitespace. |
445
|
| '{' should be on the previous line. |
446
|
| '{' should be on the previous line. |
448
|
| '(' is followed by whitespace. |
449
|
| ')' is preceded with whitespace. |
449
|
| '}' should be on the same line. |
450
|
| 'catch' is not followed by whitespace. |
451
|
| '(' is followed by whitespace. |
451
|
| ')' is preceded with whitespace. |
451
|
| '{' should be on the previous line. |
452
|
| Line is longer than 80 characters. |
453
|
| '(' is followed by whitespace. |
454
|
| ')' is preceded with whitespace. |
454
|
| '(' is followed by whitespace. |
455
|
| ')' is preceded with whitespace. |
455
|
| '}' should be on the same line. |
457
|
| 'catch' is not followed by whitespace. |
458
|
| '(' is followed by whitespace. |
458
|
| ')' is preceded with whitespace. |
458
|
| '{' should be on the previous line. |
459
|
| Line is longer than 80 characters. |
460
|
| '(' is followed by whitespace. |
461
|
| ')' is preceded with whitespace. |
461
|
| '(' is followed by whitespace. |
462
|
| ')' is preceded with whitespace. |
462
|
| Method 'getNextEntry' is not designed for extension - needs to be abstract, final or empty. |
473
|
| '{' should be on the previous line. |
474
|
| 'cast' is not followed by whitespace. |
476
|
| 'while' is not followed by whitespace. |
479
|
| '(' is followed by whitespace. |
479
|
| ')' is preceded with whitespace. |
479
|
| '{' should be on the previous line. |
480
|
| 'if' is not followed by whitespace. |
483
|
| '(' is followed by whitespace. |
483
|
| ')' is preceded with whitespace. |
483
|
| '{' should be on the previous line. |
484
|
| 'cast' is not followed by whitespace. |
488
|
| Method 'notifyFailedTriggers' is not designed for extension - needs to be abstract, final or empty. |
494
|
| Missing a Javadoc comment. |
494
|
| '(' is followed by whitespace. |
494
|
| Parameter t should be final. |
494
|
| ')' is preceded with whitespace. |
494
|
| '{' should be on the previous line. |
495
|
| 'for' is not followed by whitespace. |
496
|
| '(' is followed by whitespace. |
496
|
| ')' is preceded with whitespace. |
496
|
| '{' should be on the previous line. |
497
|
| Line is longer than 80 characters. |
498
|
| 'cast' is not followed by whitespace. |
498
|
| '(' is followed by whitespace. |
498
|
| ')' is preceded with whitespace. |
498
|
| '(' is followed by whitespace. |
499
|
| ')' is preceded with whitespace. |
499
|
org/apache/avalon/cornerstone/blocks/scheduler/MonitorableTimeScheduler.java
Error | Line |
| Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. |
1
|
| Line has trailing spaces. |
1
|
| Line has trailing spaces. |
5
|
| Line has trailing spaces. |
6
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| '{' should be on the previous line. |
26
|
org/apache/avalon/cornerstone/blocks/scheduler/MonitorableTimeSchedulerMBean.java
Error | Line |
| Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. |
1
|
| Line has trailing spaces. |
1
|
| Line has trailing spaces. |
5
|
| Line has trailing spaces. |
6
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| '{' should be on the previous line. |
25
|
org/apache/avalon/cornerstone/blocks/scheduler/PriorityQueue.java
Error | Line |
| Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. |
1
|
| Line has trailing spaces. |
1
|
| Line has trailing spaces. |
5
|
| Line has trailing spaces. |
6
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| '{' should be on the previous line. |
31
|
| '(' is followed by whitespace. |
49
|
| ')' is preceded with whitespace. |
49
|
| Redundant throws: 'NoSuchElementException' is unchecked exception. |
57
|
| Redundant throws: 'NoSuchElementException' is unchecked exception. |
65
|
org/apache/avalon/cornerstone/blocks/scheduler/SynchronizedPriorityQueue.java
Error | Line |
| Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. |
1
|
| Line has trailing spaces. |
1
|
| Line has trailing spaces. |
5
|
| Line has trailing spaces. |
6
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| '{' should be on the previous line. |
33
|
| Missing a Javadoc comment. |
34
|
| Name 'm_priorityQueue' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
34
|
| Missing a Javadoc comment. |
36
|
| '(' is followed by whitespace. |
36
|
| ')' is preceded with whitespace. |
36
|
| '{' should be on the previous line. |
37
|
| 'if' is not followed by whitespace. |
38
|
| '(' is followed by whitespace. |
38
|
| ')' is preceded with whitespace. |
38
|
| '{' should be on the previous line. |
39
|
| '(' is followed by whitespace. |
40
|
| ')' is preceded with whitespace. |
40
|
| '{' should be on the previous line. |
49
|
| 'synchronized' is not followed by whitespace. |
50
|
| '(' is followed by whitespace. |
50
|
| ')' is preceded with whitespace. |
50
|
| '{' should be on the previous line. |
51
|
| '{' should be on the previous line. |
62
|
| 'synchronized' is not followed by whitespace. |
63
|
| '(' is followed by whitespace. |
63
|
| ')' is preceded with whitespace. |
63
|
| '{' should be on the previous line. |
64
|
| '(' is followed by whitespace. |
74
|
| ')' is preceded with whitespace. |
74
|
| '{' should be on the previous line. |
75
|
| 'synchronized' is not followed by whitespace. |
76
|
| '(' is followed by whitespace. |
76
|
| ')' is preceded with whitespace. |
76
|
| '{' should be on the previous line. |
77
|
| '(' is followed by whitespace. |
78
|
| ')' is preceded with whitespace. |
78
|
| Redundant throws: 'NoSuchElementException' is unchecked exception. |
88
|
| '{' should be on the previous line. |
89
|
| 'synchronized' is not followed by whitespace. |
90
|
| '(' is followed by whitespace. |
90
|
| ')' is preceded with whitespace. |
90
|
| '{' should be on the previous line. |
91
|
| Redundant throws: 'NoSuchElementException' is unchecked exception. |
102
|
| '{' should be on the previous line. |
103
|
| 'synchronized' is not followed by whitespace. |
104
|
| '(' is followed by whitespace. |
104
|
| ')' is preceded with whitespace. |
104
|
| '{' should be on the previous line. |
105
|
| Missing a Javadoc comment. |
110
|
| '{' should be on the previous line. |
111
|
| 'synchronized' is not followed by whitespace. |
112
|
| '(' is followed by whitespace. |
112
|
| ')' is preceded with whitespace. |
112
|
| '{' should be on the previous line. |
113
|
org/apache/avalon/cornerstone/blocks/scheduler/TimeScheduledEntry.java
Error | Line |
| Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. |
1
|
| '{' should be on the previous line. |
32
|
| Missing a Javadoc comment. |
33
|
| Missing a Javadoc comment. |
35
|
| Name 'm_name' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
35
|
| Missing a Javadoc comment. |
36
|
| Name 'm_trigger' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
36
|
| Missing a Javadoc comment. |
37
|
| Name 'm_target' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
37
|
| Missing a Javadoc comment. |
40
|
| Name 'm_time' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
40
|
| Missing a Javadoc comment. |
41
|
| Name 'm_isValid' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
41
|
| Missing a Javadoc comment. |
43
|
| '(' is followed by whitespace. |
43
|
| Parameter name should be final. |
43
|
| Parameter trigger should be final. |
43
|
| Parameter target should be final. |
43
|
| ')' is preceded with whitespace. |
43
|
| '{' should be on the previous line. |
58
|
| Missing a Javadoc comment. |
62
|
| '{' should be on the previous line. |
63
|
| Missing a Javadoc comment. |
67
|
| '{' should be on the previous line. |
68
|
| First sentence should end with a period. |
72
|
| '{' should be on the previous line. |
78
|
| First sentence should end with a period. |
82
|
| '{' should be on the previous line. |
86
|
| '{' should be on the previous line. |
96
|
| First sentence should end with a period. |
100
|
| '(' is followed by whitespace. |
105
|
| Parameter time should be final. |
105
|
| ')' is preceded with whitespace. |
105
|
| '{' should be on the previous line. |
106
|
| '(' is followed by whitespace. |
117
|
| ')' is preceded with whitespace. |
117
|
| '{' should be on the previous line. |
118
|
| 'cast' is not followed by whitespace. |
119
|
| Line contains a tab character. |
120
|
| '=' is not preceded with whitespace. |
120
|
| Line contains a tab character. |
121
|
| 'if' is not followed by whitespace. |
121
|
| '(' is followed by whitespace. |
121
|
| ')' is preceded with whitespace. |
121
|
| Line contains a tab character. |
122
|
| '{' should be on the previous line. |
122
|
| Line contains a tab character. |
123
|
| Line contains a tab character. |
124
|
| '}' should be on the same line. |
124
|
| Line contains a tab character. |
125
|
| Line contains a tab character. |
126
|
| 'if' is not followed by whitespace. |
126
|
| '(' is followed by whitespace. |
126
|
| ')' is preceded with whitespace. |
126
|
| Line contains a tab character. |
127
|
| '{' should be on the previous line. |
127
|
| Line contains a tab character. |
128
|
| Line contains a tab character. |
129
|
| '}' should be on the same line. |
129
|
| Line contains a tab character. |
130
|
| Line contains a tab character. |
131
|
| '{' should be on the previous line. |
131
|
| Line contains a tab character. |
132
|
| Line contains a tab character. |
133
|
| Missing a Javadoc comment. |
136
|
| '{' should be on the previous line. |
137
|
| Line is longer than 80 characters. |
138
|
| '(' is followed by whitespace. |
138
|
| '(' is followed by whitespace. |
138
|
| ')' is preceded with whitespace. |
138
|
| ')' is preceded with whitespace. |
138
|