Checkstyle Results
The following document contains the results of
Checkstyle
.
Summary
Files | Infos | Warnings | Errors |
16 | 0 | 0 | 415 |
Files
org/apache/pluto/driver/deploy/CLI.java
Error | Line |
| Line does not match expected header line of ' Version 2.0, January 2004'. |
2
|
| Line has trailing spaces. |
3
|
| Line has trailing spaces. |
7
|
| Line has trailing spaces. |
9
|
| Line is longer than 80 characters. |
24
|
| Line is longer than 80 characters. |
25
|
| Line is longer than 80 characters. |
26
|
| Class CLI should be declared as final. |
29
|
| Missing a Javadoc comment. |
29
|
| '{' should be on a new line. |
29
|
| '{' should be on a new line. |
34
|
| Parameter args should be final. |
53
|
| Expected @param tag for 'args'. |
53
|
| Array brackets at illegal position. |
53
|
| Expected @throws tag for 'Exception'. |
53
|
| '{' should be on a new line. |
53
|
| 'if' is not followed by whitespace. |
57
|
| '!=' is not preceded with whitespace. |
57
|
| '!=' is not followed by whitespace. |
57
|
| '{' should be on a new line. |
57
|
| Parameter args should be final. |
68
|
| '{' should be on a new line. |
68
|
| 'if' is not followed by whitespace. |
75
|
| '{' should be on a new line. |
75
|
| Line is longer than 80 characters. |
76
|
| 'if' is not followed by whitespace. |
79
|
| '!=' is not preceded with whitespace. |
79
|
| '!=' is not followed by whitespace. |
79
|
| '{' should be on a new line. |
79
|
| Line is longer than 80 characters. |
80
|
| Line is longer than 80 characters. |
81
|
| 'if' is not followed by whitespace. |
83
|
| '{' should be on a new line. |
83
|
| Line is longer than 80 characters. |
84
|
| '+' is not preceded with whitespace. |
84
|
| 'if' is not followed by whitespace. |
89
|
| '{' should be on a new line. |
89
|
| Line is longer than 80 characters. |
90
|
| '{' should be on a new line. |
92
|
| Line is longer than 80 characters. |
93
|
| 'if' is not followed by whitespace. |
96
|
| '{' should be on a new line. |
96
|
| Line is longer than 80 characters. |
97
|
| '+' is not preceded with whitespace. |
97
|
| Line is longer than 80 characters. |
100
|
| Line is longer than 80 characters. |
101
|
| Line is longer than 80 characters. |
103
|
| Expected an @return tag. |
116
|
| Parameter args should be final. |
116
|
| Expected @param tag for 'args'. |
116
|
| '{' should be on a new line. |
116
|
| '=' is not preceded with whitespace. |
119
|
| '=' is not followed by whitespace. |
119
|
| ';' is not followed by whitespace. |
119
|
| '<' is not preceded with whitespace. |
119
|
| '<' is not followed by whitespace. |
119
|
| ';' is not followed by whitespace. |
119
|
| '{' should be on a new line. |
119
|
| 'if' is not followed by whitespace. |
122
|
| '{' should be on a new line. |
122
|
| 'if' is not followed by whitespace. |
126
|
| '{' should be on a new line. |
126
|
| 'if' is not followed by whitespace. |
130
|
| '{' should be on a new line. |
130
|
| 'if' is not followed by whitespace. |
133
|
| '{' should be on a new line. |
133
|
| '{' should be on a new line. |
134
|
| 'if' is not followed by whitespace. |
136
|
| '{' should be on a new line. |
136
|
| '+' is not preceded with whitespace. |
138
|
| '+' is not followed by whitespace. |
138
|
| '+' is not preceded with whitespace. |
138
|
| '+' should be on a new line. |
138
|
| 'catch' is not followed by whitespace. |
143
|
| '{' should be on a new line. |
143
|
| 'if' is not followed by whitespace. |
149
|
| '{' should be on a new line. |
149
|
| '{' should be on a new line. |
152
|
| '+' is not preceded with whitespace. |
153
|
| '+' is not followed by whitespace. |
153
|
| '{' should be on a new line. |
155
|
| 'if' is not followed by whitespace. |
160
|
| '{' should be on a new line. |
160
|
| 'if' is not followed by whitespace. |
166
|
| '{' should be on a new line. |
166
|
| Line is longer than 80 characters. |
167
|
| '+' is not preceded with whitespace. |
167
|
| 'if' is not followed by whitespace. |
170
|
| '{' should be on a new line. |
170
|
| Line is longer than 80 characters. |
171
|
| 'if' is not followed by whitespace. |
174
|
| '{' should be on a new line. |
174
|
| Line is longer than 80 characters. |
175
|
| '+' is not preceded with whitespace. |
175
|
| '{' should be on a new line. |
183
|
| Line is longer than 80 characters. |
186
|
| '+' is not preceded with whitespace. |
186
|
| '+' is not followed by whitespace. |
186
|
| '+' is not preceded with whitespace. |
187
|
| '+' is not followed by whitespace. |
187
|
| Line is longer than 80 characters. |
188
|
| '+' is not preceded with whitespace. |
188
|
| '+' is not followed by whitespace. |
188
|
| '+' is not preceded with whitespace. |
189
|
| '+' is not followed by whitespace. |
189
|
| '+' is not preceded with whitespace. |
190
|
| '+' is not followed by whitespace. |
190
|
| '+' is not preceded with whitespace. |
191
|
| '+' is not followed by whitespace. |
191
|
| '+' is not preceded with whitespace. |
192
|
| '+' is not followed by whitespace. |
192
|
| '+' is not preceded with whitespace. |
193
|
| '+' is not followed by whitespace. |
193
|
| Line is longer than 80 characters. |
194
|
| '+' is not preceded with whitespace. |
194
|
| '+' is not followed by whitespace. |
194
|
| '{' should be on a new line. |
201
|
| '{' should be on a new line. |
208
|
| Missing a Javadoc comment. |
209
|
| Name 'portletApplication' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
209
|
| Missing a Javadoc comment. |
210
|
| Name 'portalApplication' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
210
|
| Missing a Javadoc comment. |
211
|
| Name 'destinationDirectory' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
211
|
| Missing a Javadoc comment. |
212
|
| Name 'debug' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
212
|
org/apache/pluto/driver/deploy/Deploy.java
Error | Line |
| Line does not match expected header line of ' Version 2.0, January 2004'. |
2
|
| Line has trailing spaces. |
3
|
| Line has trailing spaces. |
7
|
| Line has trailing spaces. |
9
|
| Missing a Javadoc comment. |
38
|
| '{' should be on a new line. |
38
|
| Missing a Javadoc comment. |
40
|
| Missing a Javadoc comment. |
44
|
| Name 'webAppDescriptorService' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
44
|
| Missing a Javadoc comment. |
45
|
| Name 'portletAppDescriptorService' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
45
|
| Missing a Javadoc comment. |
49
|
| Name 'exploder' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
49
|
| Missing a Javadoc comment. |
50
|
| Name 'registrars' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
50
|
| Missing a Javadoc comment. |
52
|
| Name 'debug' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
52
|
| Missing a Javadoc comment. |
54
|
| Parameter webAppDescriptorService should be final. |
54
|
| 'webAppDescriptorService' hides a field. |
54
|
| Parameter portletAppDescriptorService should be final. |
55
|
| 'portletAppDescriptorService' hides a field. |
55
|
| '{' should be on a new line. |
55
|
| Expected an @return tag. |
64
|
| Method 'getWebAppDDService' is not designed for extension - needs to be abstract, final or empty. |
64
|
| '{' should be on a new line. |
64
|
| Line is longer than 80 characters. |
71
|
| Method 'setWebAppDDService' is not designed for extension - needs to be abstract, final or empty. |
71
|
| Parameter webAppDescriptorService should be final. |
71
|
| 'webAppDescriptorService' hides a field. |
71
|
| Expected @param tag for 'webAppDescriptorService'. |
71
|
| '{' should be on a new line. |
71
|
| Expected an @return tag. |
79
|
| Method 'getPortletAppDDService' is not designed for extension - needs to be abstract, final or empty. |
79
|
| '{' should be on a new line. |
79
|
| Line is longer than 80 characters. |
87
|
| Method 'setPortletAppDDService' is not designed for extension - needs to be abstract, final or empty. |
87
|
| Parameter portletAppDescriptorService should be final. |
87
|
| 'portletAppDescriptorService' hides a field. |
87
|
| Expected @param tag for 'portletAppDescriptorService'. |
87
|
| '{' should be on a new line. |
87
|
| Method 'getExploder' is not designed for extension - needs to be abstract, final or empty. |
91
|
| Missing a Javadoc comment. |
91
|
| '{' should be on a new line. |
91
|
| Method 'setExploder' is not designed for extension - needs to be abstract, final or empty. |
95
|
| Missing a Javadoc comment. |
95
|
| Parameter exploder should be final. |
95
|
| 'exploder' hides a field. |
95
|
| '{' should be on a new line. |
95
|
| Method 'getRegistrars' is not designed for extension - needs to be abstract, final or empty. |
99
|
| Missing a Javadoc comment. |
99
|
| '{' should be on a new line. |
99
|
| Method 'setRegistrars' is not designed for extension - needs to be abstract, final or empty. |
103
|
| Missing a Javadoc comment. |
103
|
| Parameter registrars should be final. |
103
|
| 'registrars' hides a field. |
103
|
| '{' should be on a new line. |
103
|
| Method 'addRegistrar' is not designed for extension - needs to be abstract, final or empty. |
107
|
| Missing a Javadoc comment. |
107
|
| Parameter registrar should be final. |
107
|
| '{' should be on a new line. |
107
|
| Method 'isDebug' is not designed for extension - needs to be abstract, final or empty. |
111
|
| Missing a Javadoc comment. |
111
|
| '{' should be on a new line. |
111
|
| Method 'setDebug' is not designed for extension - needs to be abstract, final or empty. |
115
|
| Missing a Javadoc comment. |
115
|
| Parameter debug should be final. |
115
|
| 'debug' hides a field. |
115
|
| '{' should be on a new line. |
115
|
| Method 'deploy' is not designed for extension - needs to be abstract, final or empty. |
126
|
| Parameter warFile should be final. |
126
|
| Expected @param tag for 'warFile'. |
126
|
| Expected @throws tag for 'IOException'. |
126
|
| '{' should be on a new line. |
126
|
| 'if' is not followed by whitespace. |
127
|
| '{' should be on a new line. |
127
|
| 'while' is not followed by whitespace. |
133
|
| '{' should be on a new line. |
133
|
| 'cast' is not followed by whitespace. |
134
|
| Method 'updateDescriptors' is not designed for extension - needs to be abstract, final or empty. |
139
|
| Missing a Javadoc comment. |
139
|
| '{' should be on a new line. |
140
|
| '{' should be on a new line. |
146
|
| Missing a Javadoc comment. |
158
|
| Parameter webApp should be final. |
158
|
| Parameter portlet should be final. |
158
|
| '{' should be on a new line. |
158
|
| 'if' is not followed by whitespace. |
159
|
| '{' should be on a new line. |
159
|
| Line is longer than 80 characters. |
160
|
| '+' is not preceded with whitespace. |
160
|
| '+' is not followed by whitespace. |
160
|
| '+' is not preceded with whitespace. |
160
|
| '+' is not followed by whitespace. |
160
|
| '{' should be on a new line. |
165
|
| '{' should be on a new line. |
167
|
| Line is longer than 80 characters. |
169
|
| '}' should be alone on a line. |
175
|
| '{' should be on a new line. |
175
|
| Line is longer than 80 characters. |
192
|
| '+' is not preceded with whitespace. |
192
|
| '+' is not followed by whitespace. |
192
|
| '+' is not preceded with whitespace. |
192
|
| '+' is not followed by whitespace. |
192
|
| Missing a Javadoc comment. |
198
|
| Parameter webApp should be final. |
198
|
| Parameter servlet should be final. |
199
|
| Parameter portlet should be final. |
200
|
| '{' should be on a new line. |
200
|
| 'while' is not followed by whitespace. |
206
|
| '{' should be on a new line. |
206
|
| 'cast' is not followed by whitespace. |
207
|
| 'while' is not followed by whitespace. |
214
|
| '{' should be on a new line. |
214
|
| 'cast' is not followed by whitespace. |
215
|
| 'while' is not followed by whitespace. |
222
|
| '{' should be on a new line. |
222
|
| '==' is not preceded with whitespace. |
224
|
| '==' is not followed by whitespace. |
224
|
| '==' is not preceded with whitespace. |
225
|
| '==' is not followed by whitespace. |
225
|
| '{' should be on a new line. |
225
|
| Line is longer than 80 characters. |
227
|
| Line is longer than 80 characters. |
229
|
| '{' should be on a new line. |
237
|
| Line is longer than 80 characters. |
238
|
| Line is longer than 80 characters. |
240
|
| Missing a Javadoc comment. |
253
|
| Parameter webApp should be final. |
253
|
| Parameter portlet should be final. |
254
|
| '{' should be on a new line. |
254
|
| 'if' is not followed by whitespace. |
255
|
| '{' should be on a new line. |
255
|
| Line is longer than 80 characters. |
256
|
| '+' is not preceded with whitespace. |
256
|
| '+' is not followed by whitespace. |
256
|
| '+' is not preceded with whitespace. |
256
|
| '+' is not followed by whitespace. |
256
|
| '=' is not preceded with whitespace. |
258
|
| '+' is not preceded with whitespace. |
258
|
| '+' is not followed by whitespace. |
258
|
| '{' should be on a new line. |
260
|
| '{' should be on a new line. |
262
|
| '+' is not preceded with whitespace. |
264
|
| '+' is not followed by whitespace. |
264
|
| '{' should be on a new line. |
269
|
org/apache/pluto/driver/deploy/PortalRegistrarService.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| '{' should be on a new line. |
31
|
| Expected @param tag for 'service'. |
37
|
| Expected @throws tag for 'IOException'. |
38
|
org/apache/pluto/driver/deploy/PortalRegistrarServiceImpl.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| '{' should be on a new line. |
35
|
| Missing a Javadoc comment. |
37
|
| Missing a Javadoc comment. |
40
|
| Name 'portalRoot' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
40
|
| Parameter portalRoot should be final. |
48
|
| 'portalRoot' hides a field. |
48
|
| Expected @param tag for 'portalRoot'. |
48
|
| '{' should be on a new line. |
48
|
| Line is longer than 80 characters. |
57
|
| Parameter portletAppDescriptorService should be final. |
57
|
| Expected @throws tag for 'IOException'. |
58
|
| '{' should be on a new line. |
58
|
| Line is longer than 80 characters. |
68
|
| Line is longer than 80 characters. |
69
|
| 'while' is not followed by whitespace. |
74
|
| '{' should be on a new line. |
74
|
| 'cast' is not followed by whitespace. |
75
|
| Line is longer than 80 characters. |
76
|
| Line is longer than 80 characters. |
77
|
| Line is longer than 80 characters. |
78
|
org/apache/pluto/driver/deploy/PortletApplicationExploder.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| '{' should be on a new line. |
35
|
| Missing a Javadoc comment. |
37
|
| Name 'destination' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
37
|
| Missing a Javadoc comment. |
39
|
| Name 'validateJsp' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
39
|
| Parameter destination should be final. |
45
|
| 'destination' hides a field. |
45
|
| Expected @param tag for 'destination'. |
45
|
| '{' should be on a new line. |
45
|
| Missing a Javadoc comment. |
49
|
| Parameter destination should be final. |
49
|
| 'destination' hides a field. |
49
|
| Parameter validate should be final. |
49
|
| '{' should be on a new line. |
49
|
| Missing a Javadoc comment. |
54
|
| Parameter war should be final. |
54
|
| '{' should be on a new line. |
54
|
| 'destination' hides a field. |
55
|
| '{' should be on a new line. |
61
|
| Line is longer than 80 characters. |
65
|
| 'if' is not followed by whitespace. |
65
|
| '{' should be on a new line. |
65
|
| '{' should be on a new line. |
71
|
| '}' should be alone on a line. |
73
|
| '{' should be on a new line. |
73
|
| '1024' is a magic number. |
75
|
| '{' should be on a new line. |
79
|
| Missing a Javadoc comment. |
88
|
| Parameter is should be final. |
88
|
| '{' should be on a new line. |
88
|
| 'while' is not followed by whitespace. |
93
|
| '!=' is not preceded with whitespace. |
93
|
| '!=' is not followed by whitespace. |
93
|
| '{' should be on a new line. |
93
|
| 'if' is not followed by whitespace. |
94
|
| '==' is not preceded with whitespace. |
94
|
| '==' is not followed by whitespace. |
94
|
| '==' is not preceded with whitespace. |
94
|
| '==' is not followed by whitespace. |
94
|
| '{' is not preceded with whitespace. |
94
|
| '{' should be on a new line. |
94
|
| 'cast' is not followed by whitespace. |
96
|
| 'if' is not followed by whitespace. |
97
|
| '{' is not preceded with whitespace. |
97
|
| '{' should be on a new line. |
97
|
| Line is longer than 80 characters. |
98
|
| '+' is not preceded with whitespace. |
98
|
| '+' is not followed by whitespace. |
98
|
| '+' is not preceded with whitespace. |
98
|
| '+' is not followed by whitespace. |
98
|
| '+' is not followed by whitespace. |
98
|
| '+' is not preceded with whitespace. |
98
|
| '+' is not followed by whitespace. |
98
|
| '+' is not preceded with whitespace. |
98
|
| '+' is not followed by whitespace. |
98
|
| '+' is not preceded with whitespace. |
98
|
| '+' is not followed by whitespace. |
98
|
| Missing a Javadoc comment. |
105
|
| Parameter warName should be final. |
105
|
| '{' should be on a new line. |
105
|
org/apache/pluto/driver/deploy/impl/ContextRegistryRegistrarService.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| '{' should be on a new line. |
33
|
| Line is longer than 80 characters. |
35
|
| Missing a Javadoc comment. |
35
|
| Missing a Javadoc comment. |
37
|
| Name 'webAppDir' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
37
|
| Missing a Javadoc comment. |
39
|
| Parameter webAppDir should be final. |
39
|
| 'webAppDir' hides a field. |
39
|
| '{' should be on a new line. |
39
|
| Method 'register' is not designed for extension - needs to be abstract, final or empty. |
43
|
| Missing a Javadoc comment. |
43
|
| Parameter service should be final. |
43
|
| '{' should be on a new line. |
44
|
| '+' is not preceded with whitespace. |
53
|
| '+' is not followed by whitespace. |
53
|
| 'if' is not followed by whitespace. |
54
|
| '{' should be on a new line. |
54
|
| Line is longer than 80 characters. |
55
|
| '+' is not preceded with whitespace. |
60
|
| '+' is not followed by whitespace. |
60
|
org/apache/pluto/driver/deploy/impl/PortletEntityRegistryRegistrarService.java
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| '{' should be on a new line. |
37
|
| Missing a Javadoc comment. |
39
|
| Missing a Javadoc comment. |
42
|
| Name 'portalRoot' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. |
42
|
| Parameter portalRoot should be final. |
50
|
| 'portalRoot' hides a field. |
50
|
| Expected @param tag for 'portalRoot'. |
50
|
| '{' should be on a new line. |
50
|
| Method 'register' is not designed for extension - needs to be abstract, final or empty. |
59
|
| Parameter service should be final. |
59
|
| Expected @throws tag for 'IOException'. |
60
|
| '{' should be on a new line. |
60
|
| Line is longer than 80 characters. |
61
|
| '+' is not preceded with whitespace. |
61
|
| '+' is not followed by whitespace. |
61
|
| '+' is not preceded with whitespace. |
61
|
| '+' is not followed by whitespace. |
61
|
| Line is longer than 80 characters. |
69
|
| '+' is not preceded with whitespace. |
69
|
| '+' is not followed by whitespace. |
69
|
| '+' is not preceded with whitespace. |
69
|
| '+' is not followed by whitespace. |
69
|
| 'if' is not followed by whitespace. |
70
|
| '{' should be on a new line. |
70
|
| Line is longer than 80 characters. |
71
|
| Line is longer than 80 characters. |
77
|
| Line is longer than 80 characters. |
78
|
| 'while' is not followed by whitespace. |
83
|
| '{' should be on a new line. |
83
|
| 'cast' is not followed by whitespace. |
84
|
| Line is longer than 80 characters. |
85
|
| Line is longer than 80 characters. |
86
|
| Line is longer than 80 characters. |
87
|
org/apache/pluto/driver/deploy/impl/package.html
Error | Line |
| Missing package documentation file. | 0 |
org/apache/pluto/driver/deploy/package.html
Error | Line |
| Missing package documentation file. | 0 |