Checkstyle Results
The following document contains the results of
Checkstyle.
Summary
Files | Infos | Warnings | Errors |
11 | 0 | 0 | 385 |
Files
org/calendartag/decorator/CalendarDecorator.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
4
|
| Line has trailing spaces. |
14
|
| Line is longer than 80 characters. |
27
|
| Line is longer than 80 characters. |
28
|
| Line is longer than 80 characters. |
30
|
| Line has trailing spaces. |
36
|
| Redundant 'public' modifier. |
41
|
| Line has trailing spaces. |
42
|
| Line is longer than 80 characters. |
44
|
| Line is longer than 80 characters. |
45
|
| Redundant 'public' modifier. |
48
|
| Line has trailing spaces. |
49
|
| Redundant 'public' modifier. |
54
|
| Redundant 'public' modifier. |
61
|
| Redundant 'public' modifier. |
67
|
| Line is longer than 80 characters. |
70
|
| Line is longer than 80 characters. |
71
|
| Redundant 'public' modifier. |
75
|
| Redundant 'public' modifier. |
81
|
| Line is longer than 80 characters. |
84
|
| Redundant 'public' modifier. |
87
|
| First sentence should end with a period. |
89
|
| Redundant 'public' modifier. |
94
|
| First sentence should end with a period. |
96
|
| Redundant 'public' modifier. |
101
|
| First sentence should end with a period. |
103
|
| First sentence should end with a period. |
109
|
org/calendartag/decorator/DefaultCalendarDecorator.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
4
|
| Line has trailing spaces. |
14
|
| Line is longer than 80 characters. |
28
|
| Line is longer than 80 characters. |
29
|
| Missing a Javadoc comment. |
35
|
| 'static' modifier out of order with the JLS suggestions. |
35
|
| Missing a Javadoc comment. |
36
|
| 'static' modifier out of order with the JLS suggestions. |
36
|
| Missing a Javadoc comment. |
37
|
| 'static' modifier out of order with the JLS suggestions. |
37
|
| Line has trailing spaces. |
38
|
| Line is longer than 80 characters. |
39
|
| Missing a Javadoc comment. |
39
|
| Variable 'months' must be private and have accessor methods. |
39
|
| Missing a Javadoc comment. |
40
|
| Variable 'days' must be private and have accessor methods. |
40
|
| Missing a Javadoc comment. |
42
|
| Variable 'pageContext' must be private and have accessor methods. |
42
|
| Missing a Javadoc comment. |
43
|
| Variable 'calendar' must be private and have accessor methods. |
43
|
| Missing a Javadoc comment. |
44
|
| Variable 'start' must be private and have accessor methods. |
44
|
| Missing a Javadoc comment. |
45
|
| Variable 'end' must be private and have accessor methods. |
45
|
| Line is longer than 80 characters. |
48
|
| Line is longer than 80 characters. |
49
|
| Line is longer than 80 characters. |
50
|
| Line is longer than 80 characters. |
51
|
| Method 'getDayStyleClass' is not designed for extension - needs to be abstract, final or empty. |
53
|
| Parameter isOddMonth should be final. |
53
|
| Parameter isSelectedDay should be final. |
53
|
| 'if' is not followed by whitespace. |
56
|
| First sentence should end with a period. |
63
|
| Line has trailing spaces. |
70
|
| First sentence should end with a period. |
71
|
| Line is longer than 80 characters. |
73
|
| Method 'getPreviousLink' is not designed for extension - needs to be abstract, final or empty. |
75
|
| Parameter url should be final. |
75
|
| First sentence should end with a period. |
79
|
| Line is longer than 80 characters. |
81
|
| Method 'getNextLink' is not designed for extension - needs to be abstract, final or empty. |
83
|
| Parameter url should be final. |
83
|
| Line is longer than 80 characters. |
88
|
| Method 'getCalendarTitle' is not designed for extension - needs to be abstract, final or empty. |
92
|
| '&&' should be on a new line. |
94
|
| Line is longer than 80 characters. |
96
|
| '+' should be on a new line. |
99
|
| '+' should be on a new line. |
100
|
| '+' should be on a new line. |
103
|
| '+' should be on a new line. |
104
|
| '+' should be on a new line. |
105
|
| Line is longer than 80 characters. |
113
|
| Line is longer than 80 characters. |
114
|
| Method 'getWeekdayTitle' is not designed for extension - needs to be abstract, final or empty. |
118
|
| Parameter day should be final. |
118
|
| First sentence should end with a period. |
122
|
| Method 'getEmptyDay' is not designed for extension - needs to be abstract, final or empty. |
126
|
| Line is longer than 80 characters. |
131
|
| Line is longer than 80 characters. |
132
|
| Method 'getDay' is not designed for extension - needs to be abstract, final or empty. |
135
|
| Parameter url should be final. |
135
|
| '||' should be on a new line. |
136
|
| '&&' should be on a new line. |
137
|
| '+' should be on a new line. |
139
|
| '+' should be on a new line. |
142
|
| '+' should be on a new line. |
143
|
| First sentence should end with a period. |
148
|
| Line is longer than 80 characters. |
150
|
| Method 'setPageContext' is not designed for extension - needs to be abstract, final or empty. |
152
|
| Parameter pageContext should be final. |
152
|
| 'pageContext' hides a field. |
152
|
| First sentence should end with a period. |
156
|
| Line is longer than 80 characters. |
158
|
| Method 'setCalendar' is not designed for extension - needs to be abstract, final or empty. |
160
|
| Parameter calendar should be final. |
160
|
| 'calendar' hides a field. |
160
|
| Line has trailing spaces. |
163
|
| First sentence should end with a period. |
164
|
| Line has trailing spaces. |
164
|
| Line is longer than 80 characters. |
166
|
| Method 'setStart' is not designed for extension - needs to be abstract, final or empty. |
168
|
| Parameter start should be final. |
168
|
| 'start' hides a field. |
168
|
| First sentence should end with a period. |
172
|
| Line is longer than 80 characters. |
174
|
| Method 'setEnd' is not designed for extension - needs to be abstract, final or empty. |
176
|
| Parameter end should be final. |
176
|
| 'end' hides a field. |
176
|
org/calendartag/decorator/package.html
Error | Line |
| Missing package documentation file. | 0 |
org/calendartag/tags/CalendarTag.java
Error | Line |
| Line does not match expected header line of ''. |
1
|
| Line has trailing spaces. |
4
|
| Line has trailing spaces. |
14
|
| First sentence should end with a period. |
39
|
| Missing a Javadoc comment. |
46
|
| 'static' modifier out of order with the JLS suggestions. |
46
|
| Missing a Javadoc comment. |
47
|
| 'static' modifier out of order with the JLS suggestions. |
47
|
| Missing a Javadoc comment. |
48
|
| 'static' modifier out of order with the JLS suggestions. |
48
|
| Missing a Javadoc comment. |
49
|
| 'static' modifier out of order with the JLS suggestions. |
49
|
| Line is longer than 80 characters. |
50
|
| Missing a Javadoc comment. |
50
|
| 'static' modifier out of order with the JLS suggestions. |
50
|
| Missing a Javadoc comment. |
51
|
| 'static' modifier out of order with the JLS suggestions. |
51
|
| Missing a Javadoc comment. |
53
|
| 'static' modifier out of order with the JLS suggestions. |
53
|
| Missing a Javadoc comment. |
54
|
| 'static' modifier out of order with the JLS suggestions. |
54
|
| Missing a Javadoc comment. |
55
|
| 'static' modifier out of order with the JLS suggestions. |
55
|
| Missing a Javadoc comment. |
56
|
| 'static' modifier out of order with the JLS suggestions. |
56
|
| Missing a Javadoc comment. |
58
|
| Name 'DATE_FORMAT' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
58
|
| Missing a Javadoc comment. |
60
|
| Missing a Javadoc comment. |
61
|
| Missing a Javadoc comment. |
63
|
| Missing a Javadoc comment. |
64
|
| Missing a Javadoc comment. |
65
|
| Missing a Javadoc comment. |
66
|
| Missing a Javadoc comment. |
68
|
| Missing a Javadoc comment. |
69
|
| Missing a Javadoc comment. |
70
|
| Missing a Javadoc comment. |
71
|
| Missing a Javadoc comment. |
73
|
| Missing a Javadoc comment. |
74
|
| Missing a Javadoc comment. |
76
|
| Missing a Javadoc comment. |
78
|
| Missing a Javadoc comment. |
79
|
| Missing a Javadoc comment. |
80
|
| Missing a Javadoc comment. |
82
|
| Missing a Javadoc comment. |
83
|
| Missing a Javadoc comment. |
84
|
| Missing a Javadoc comment. |
85
|
| Missing a Javadoc comment. |
87
|
| Missing a Javadoc comment. |
89
|
| Missing a Javadoc comment. |
91
|
| Line has trailing spaces. |
92
|
| Method 'setPageContext' is not designed for extension - needs to be abstract, final or empty. |
93
|
| Missing a Javadoc comment. |
93
|
| Parameter pageContext should be final. |
93
|
| 'pageContext' hides a field. |
93
|
| Method 'setParent' is not designed for extension - needs to be abstract, final or empty. |
97
|
| Missing a Javadoc comment. |
97
|
| Parameter parent should be final. |
97
|
| 'parent' hides a field. |
97
|
| Method 'getParent' is not designed for extension - needs to be abstract, final or empty. |
101
|
| Missing a Javadoc comment. |
101
|
| Method 'doStartTag' is not designed for extension - needs to be abstract, final or empty. |
105
|
| Missing a Javadoc comment. |
105
|
| Method length is 218 lines (max allowed is 150). |
109
|
| Missing a Javadoc comment. |
109
|
| Line is longer than 80 characters. |
126
|
| Line is longer than 80 characters. |
128
|
| Line is longer than 80 characters. |
142
|
| Line is longer than 80 characters. |
156
|
| Line is longer than 80 characters. |
168
|
| Line is longer than 80 characters. |
180
|
| Line is longer than 80 characters. |
190
|
| Line is longer than 80 characters. |
194
|
| Line is longer than 80 characters. |
205
|
| Line is longer than 80 characters. |
207
|
| Line is longer than 80 characters. |
209
|
| Line contains a tab character. |
211
|
| Line is longer than 80 characters. |
220
|
| Line is longer than 80 characters. |
244
|
| Line is longer than 80 characters. |
249
|
| Line is longer than 80 characters. |
258
|
| Line is longer than 80 characters. |
265
|
| Line is longer than 80 characters. |
268
|
| Line is longer than 80 characters. |
270
|
| Line is longer than 80 characters. |
272
|
| Line is longer than 80 characters. |
273
|
| Line is longer than 80 characters. |
276
|
| Line is longer than 80 characters. |
277
|
| Line is longer than 80 characters. |
282
|
| Line is longer than 80 characters. |
284
|
| Line is longer than 80 characters. |
286
|
| Line is longer than 80 characters. |
287
|
| Line is longer than 80 characters. |
290
|
| Line is longer than 80 characters. |
291
|
| Line is longer than 80 characters. |
304
|
| Line is longer than 80 characters. |
309
|
| Must have at least one statement. |
312
|
| Line is longer than 80 characters. |
313
|
| Method 'doEndTag' is not designed for extension - needs to be abstract, final or empty. |
328
|
| Method length is 203 lines (max allowed is 150). |
328
|
| Missing a Javadoc comment. |
328
|
| Line is longer than 80 characters. |
365
|
| Line is longer than 80 characters. |
370
|
| Line is longer than 80 characters. |
387
|
| Line is longer than 80 characters. |
401
|
| Line is longer than 80 characters. |
407
|
| Line is longer than 80 characters. |
412
|
| Line is longer than 80 characters. |
413
|
| Line is longer than 80 characters. |
416
|
| Line is longer than 80 characters. |
422
|
| Line is longer than 80 characters. |
427
|
| Line is longer than 80 characters. |
428
|
| Line is longer than 80 characters. |
433
|
| 'day' hides a field. |
443
|
| '7' is a magic number. |
444
|
| '7' is a magic number. |
445
|
| Line is longer than 80 characters. |
447
|
| '7' is a magic number. |
461
|
| Line is longer than 80 characters. |
468
|
| Line is longer than 80 characters. |
482
|
| Line is longer than 80 characters. |
483
|
| Line has trailing spaces. |
484
|
| Line is longer than 80 characters. |
485
|
| Line is longer than 80 characters. |
497
|
| Line is longer than 80 characters. |
506
|
| Line is longer than 80 characters. |
511
|
| Line has trailing spaces. |
528
|
| Method 'getId' is not designed for extension - needs to be abstract, final or empty. |
532
|
| Missing a Javadoc comment. |
532
|
| Method 'setId' is not designed for extension - needs to be abstract, final or empty. |
536
|
| Missing a Javadoc comment. |
536
|
| Parameter id should be final. |
536
|
| 'id' hides a field. |
536
|
| Method 'getDayHeight' is not designed for extension - needs to be abstract, final or empty. |
540
|
| Missing a Javadoc comment. |
540
|
| Method 'setDayHeight' is not designed for extension - needs to be abstract, final or empty. |
544
|
| Missing a Javadoc comment. |
544
|
| Parameter dayHeight should be final. |
544
|
| 'dayHeight' hides a field. |
544
|
| Method 'getDayWidth' is not designed for extension - needs to be abstract, final or empty. |
548
|
| Missing a Javadoc comment. |
548
|
| Method 'setDayWidth' is not designed for extension - needs to be abstract, final or empty. |
552
|
| Missing a Javadoc comment. |
552
|
| Parameter dayWidth should be final. |
552
|
| 'dayWidth' hides a field. |
552
|
| Method 'getStartDate' is not designed for extension - needs to be abstract, final or empty. |
556
|
| Missing a Javadoc comment. |
556
|
| Method 'setStartDate' is not designed for extension - needs to be abstract, final or empty. |
560
|
| Missing a Javadoc comment. |
560
|
| Parameter startDate should be final. |
560
|
| 'startDate' hides a field. |
560
|
| Method 'getEndDate' is not designed for extension - needs to be abstract, final or empty. |
564
|
| Missing a Javadoc comment. |
564
|
| Method 'setEndDate' is not designed for extension - needs to be abstract, final or empty. |
568
|
| Missing a Javadoc comment. |
568
|
| Parameter endDate should be final. |
568
|
| 'endDate' hides a field. |
568
|
| Method 'getShowPreviousNextLinks' is not designed for extension - needs to be abstract, final or empty. |
572
|
| Missing a Javadoc comment. |
572
|
| Method 'setShowPreviousNextLink' is not designed for extension - needs to be abstract, final or empty. |
576
|
| Missing a Javadoc comment. |
576
|
| Parameter showPreviousNextLinks should be final. |
576
|
| 'showPreviousNextLinks' hides a field. |
576
|
| Method 'getDecorator' is not designed for extension - needs to be abstract, final or empty. |
580
|
| Missing a Javadoc comment. |
580
|
| Method 'setDecorator' is not designed for extension - needs to be abstract, final or empty. |
584
|
| Missing a Javadoc comment. |
584
|
| Parameter decorator should be final. |
584
|
| 'decorator' hides a field. |
584
|
| Method 'getRequestURI' is not designed for extension - needs to be abstract, final or empty. |
588
|
| Missing a Javadoc comment. |
588
|
| Method 'setRequestURI' is not designed for extension - needs to be abstract, final or empty. |
592
|
| Missing a Javadoc comment. |
592
|
| Parameter requestURI should be final. |
592
|
| 'requestURI' hides a field. |
592
|
| Method 'getWeekStart' is not designed for extension - needs to be abstract, final or empty. |
596
|
| Missing a Javadoc comment. |
596
|
| Method 'setWeekStart' is not designed for extension - needs to be abstract, final or empty. |
600
|
| Missing a Javadoc comment. |
600
|
| Parameter weekStart should be final. |
600
|
| 'weekStart' hides a field. |
600
|
| Method 'getDate' is not designed for extension - needs to be abstract, final or empty. |
604
|
| Missing a Javadoc comment. |
604
|
| Method 'setDate' is not designed for extension - needs to be abstract, final or empty. |
608
|
| Missing a Javadoc comment. |
608
|
| Parameter date should be final. |
608
|
| 'date' hides a field. |
608
|
| Method 'getDay' is not designed for extension - needs to be abstract, final or empty. |
612
|
| Missing a Javadoc comment. |
612
|
| Method 'setDay' is not designed for extension - needs to be abstract, final or empty. |
616
|
| Missing a Javadoc comment. |
616
|
| Parameter day should be final. |
616
|
| 'day' hides a field. |
616
|
| Method 'getMonth' is not designed for extension - needs to be abstract, final or empty. |
620
|
| Missing a Javadoc comment. |
620
|
| Method 'setMonth' is not designed for extension - needs to be abstract, final or empty. |
624
|
| Missing a Javadoc comment. |
624
|
| Parameter month should be final. |
624
|
| 'month' hides a field. |
624
|
| Method 'getYear' is not designed for extension - needs to be abstract, final or empty. |
628
|
| Missing a Javadoc comment. |
628
|
| Method 'setYear' is not designed for extension - needs to be abstract, final or empty. |
632
|
| Missing a Javadoc comment. |
632
|
| Parameter year should be final. |
632
|
| 'year' hides a field. |
632
|
| Method 'getCssPrefix' is not designed for extension - needs to be abstract, final or empty. |
636
|
| Missing a Javadoc comment. |
636
|
| Method 'setCssPrefix' is not designed for extension - needs to be abstract, final or empty. |
640
|
| Missing a Javadoc comment. |
640
|
| Parameter cssPrefix should be final. |
640
|
| 'cssPrefix' hides a field. |
640
|
| First sentence should end with a period. |
644
|
| Line contains a tab character. |
647
|
| Method 'release' is not designed for extension - needs to be abstract, final or empty. |
647
|
| Line contains a tab character. |
648
|
| Line contains a tab character. |
649
|
| Line contains a tab character. |
650
|
| Line contains a tab character. |
651
|
| Line contains a tab character. |
652
|
| Line contains a tab character. |
653
|
| Line contains a tab character. |
654
|
| Line contains a tab character. |
655
|
| Line contains a tab character. |
656
|
| Line contains a tab character. |
657
|
| Line contains a tab character. |
658
|
| Line contains a tab character. |
659
|
| Line contains a tab character. |
660
|
| Line contains a tab character. |
661
|
| Line contains a tab character. |
662
|
| Line contains a tab character. |
663
|
| Line contains a tab character. |
664
|
| Line contains a tab character. |
665
|
| Line contains a tab character. |
666
|
| Line contains a tab character. |
667
|
| Line contains a tab character. |
668
|
org/calendartag/tags/package.html
Error | Line |
| Missing package documentation file. | 0 |
org/calendartag/util/CalendarTagUtil.java
Error | Line |
| File does not end with a newline. |
0
|
org/calendartag/util/CalendarTagUtil.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
4
|
| Line has trailing spaces. |
14
|
| Utility classes should not have a public or default constructor. |
31
|
| First sentence should end with a period. |
33
|
| Line is longer than 80 characters. |
34
|
| Parameter calendar should be final. |
37
|
| First sentence should end with a period. |
44
|
| Line is longer than 80 characters. |
45
|
| Parameter date should be final. |
48
|
| Line is longer than 80 characters. |
56
|
| Parameter a should be final. |
61
|
| Parameter b should be final. |
61
|
| '&&' should be on a new line. |
62
|
| '&&' should be on a new line. |
63
|
| Line is longer than 80 characters. |
68
|
| Line is longer than 80 characters. |
69
|
| Line is longer than 80 characters. |
73
|
| Line is longer than 80 characters. |
76
|
| Parameter leftCalendar should be final. |
76
|
| Parameter rightCalendar should be final. |
76
|
| Line is longer than 80 characters. |
78
|
| '&&' should be on a new line. |
78
|
| Line is longer than 80 characters. |
79
|
| '&&' should be on a new line. |
79
|
| Line is longer than 80 characters. |
80
|
| Parameter a should be final. |
96
|
| Parameter b should be final. |
96
|
| Line is longer than 80 characters. |
104
|
org/calendartag/util/package.html
Error | Line |
| Missing package documentation file. | 0 |