Checkstyle Results
The following document contains the results of
Checkstyle
.
Summary
| Files | Infos | Warnings | Errors |
| 9 | 0 | 0 | 304 |
Files
org/astrogrid/utils/ClassPathUtils.java
| Error | Line |
| Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. |
1
|
| Missing a Javadoc comment. |
21
|
| Utility classes should not have a public or default constructor. |
21
|
| '{' should be on the previous line. |
22
|
| Line has trailing spaces. |
23
|
| '{' should be on the previous line. |
31
|
| Line has trailing spaces. |
34
|
| '=' is not preceded with whitespace. |
35
|
| '=' is not followed by whitespace. |
35
|
| '<' is not preceded with whitespace. |
35
|
| '<' is not followed by whitespace. |
35
|
| ';' is not followed by whitespace. |
35
|
| '{' should be on the previous line. |
36
|
| Line has trailing spaces. |
38
|
| '{' should be on the previous line. |
40
|
| '+' is not preceded with whitespace. |
43
|
| '+' is not followed by whitespace. |
43
|
| '+' is not preceded with whitespace. |
43
|
| '+' is not followed by whitespace. |
43
|
| '+' is not preceded with whitespace. |
43
|
| '+' is not followed by whitespace. |
43
|
| '}' should be on the same line. |
45
|
| '{' should be on the previous line. |
47
|
| '+' is not preceded with whitespace. |
50
|
| '+' is not followed by whitespace. |
50
|
| '+' is not preceded with whitespace. |
50
|
| '+' is not followed by whitespace. |
50
|
| '+' is not preceded with whitespace. |
50
|
| '+' is not followed by whitespace. |
50
|
| Expected an @return tag. |
66
|
| Parameter filename should be final. |
66
|
| Expected @param tag for 'filename'. |
66
|
| '{' should be on the previous line. |
67
|
| '{' should be on the previous line. |
69
|
| Line is longer than 80 characters. |
72
|
| Line has trailing spaces. |
73
|
| '}' should be on the same line. |
75
|
| '{' should be on the previous line. |
77
|
| Line has trailing spaces. |
81
|
| Expected an @return tag. |
86
|
| Parameter dirname should be final. |
86
|
| Expected @param tag for 'dirname'. |
86
|
| '{' should be on the previous line. |
87
|
| Line has trailing spaces. |
89
|
| '{' should be on the previous line. |
91
|
| Line has trailing spaces. |
94
|
| '{' should be on the previous line. |
96
|
| Line has trailing spaces. |
102
|
| First sentence should end with a period. |
104
|
| Expected an @return tag. |
108
|
| '{' should be on the previous line. |
109
|
| Line has trailing spaces. |
113
|
| '{' should be on the previous line. |
115
|
| Line has trailing spaces. |
118
|
| Line has trailing spaces. |
121
|
| Expected an @return tag. |
127
|
| '{' should be on the previous line. |
128
|
| Line has trailing spaces. |
131
|
| Line has trailing spaces. |
132
|
| First sentence should end with a period. |
133
|
| Parameter args should be final. |
137
|
| Expected @param tag for 'args'. |
137
|
| '{' should be on the previous line. |
138
|
| Line has trailing spaces. |
140
|
| '}' should be on the same line. |
143
|
| Line has trailing spaces. |
145
|
| '=' is not preceded with whitespace. |
146
|
| '=' is not followed by whitespace. |
146
|
| ';' is not followed by whitespace. |
146
|
| '<' is not preceded with whitespace. |
146
|
| '<' is not followed by whitespace. |
146
|
| ';' is not followed by whitespace. |
146
|
| '{' should be on the previous line. |
147
|
| Line has trailing spaces. |
151
|
org/astrogrid/utils/TimeStamp.java
| Error | Line |
| Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. |
1
|
| Missing a Javadoc comment. |
25
|
| '{' should be on the previous line. |
26
|
| First sentence should end with a period. |
27
|
| Expected an @return tag. |
30
|
| Method 'getSecsSince' is not designed for extension - needs to be abstract, final or empty. |
30
|
| '{' should be on the previous line. |
31
|
| '1000' is a magic number. |
33
|
org/astrogrid/utils/TypeSafeEnumerator.java
| Error | Line |
| Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. |
1
|
| Line is longer than 80 characters. |
21
|
| Line is longer than 80 characters. |
30
|
| Line is longer than 80 characters. |
32
|
| '{' should be on the previous line. |
57
|
| Variable 'classLookup' must be private and have accessor methods. |
61
|
| Missing a Javadoc comment. |
64
|
| First sentence should end with a period. |
66
|
| Parameter aString should be final. |
69
|
| Expected @param tag for 'aString'. |
69
|
| '{' should be on the previous line. |
70
|
| Method 'addInstance' is not designed for extension - needs to be abstract, final or empty. |
79
|
| '{' should be on the previous line. |
80
|
| '{' should be on the previous line. |
84
|
| Line is longer than 80 characters. |
90
|
| Line is longer than 80 characters. |
92
|
| First sentence should end with a period. |
98
|
| Expected an @return tag. |
101
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
101
|
| '{' should be on the previous line. |
102
|
| Expected an @return tag. |
119
|
| Expected @throws tag for 'java.io.ObjectStreamException'. |
119
|
| '{' should be on the previous line. |
120
|
| Line is longer than 80 characters. |
121
|
| First sentence should end with a period. |
124
|
| Expected an @return tag. |
127
|
| Method 'getText' is not designed for extension - needs to be abstract, final or empty. |
127
|
| '{' should be on the previous line. |
128
|
| Line is longer than 80 characters. |
136
|
| Unclosed HTML tag found: <SubClass>.class); |
136
|
| Expected an @return tag. |
140
|
| Parameter aClass should be final. |
140
|
| Expected @param tag for 'aClass'. |
140
|
| '{' should be on the previous line. |
141
|
| '{' should be on the previous line. |
145
|
| Line is longer than 80 characters. |
153
|
| '+' is not preceded with whitespace. |
153
|
| '+' is not followed by whitespace. |
153
|
| Line is longer than 80 characters. |
161
|
| Unclosed HTML tag found: <SubClass>.class); } |
168
|
| Parameter aClass should be final. |
174
|
| '{' should be on the previous line. |
175
|
| First sentence should end with a period. |
179
|
| Unclosed HTML tag found: <pre> |
182
|
| Unclosed HTML tag found: <SubClass>[] getAll() { |
183
|
| Line is longer than 80 characters. |
184
|
| Expected an @return tag. |
187
|
| Parameter aClass should be final. |
187
|
| Expected @param tag for 'aClass'. |
187
|
| '{' should be on the previous line. |
188
|
| First sentence should end with a period. |
192
|
| Expected an @return tag. |
202
|
| Parameter aClass should be final. |
202
|
| Expected @param tag for 'aClass'. |
202
|
| Parameter aString should be final. |
202
|
| Expected @param tag for 'aString'. |
202
|
| '{' should be on the previous line. |
203
|
| ';' is followed by whitespace. |
206
|
| '{' should be on the previous line. |
207
|
| 'if' construct must use '{}'s. |
210
|
| Line is longer than 80 characters. |
213
|
| '+' is not preceded with whitespace. |
213
|
| '+' is not followed by whitespace. |
213
|
| '+' is not preceded with whitespace. |
213
|
| '+' is not followed by whitespace. |
213
|
| '+' is not preceded with whitespace. |
213
|
| '+' is not followed by whitespace. |
213
|
| '+' is not preceded with whitespace. |
213
|
| '+' is not followed by whitespace. |
213
|
org/astrogrid/utils/Workspace.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. |
26
|
| First sentence should end with a period. |
27
|
| First sentence should end with a period. |
30
|
| Name 'PERSIST' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
34
|
| Variable 'PERSIST' must be private and have accessor methods. |
34
|
| First sentence should end with a period. |
36
|
| First sentence should end with a period. |
39
|
| Expected @throws tag for 'IOException'. |
43
|
| '{' should be on the previous line. |
44
|
| First sentence should end with a period. |
48
|
| Line is longer than 80 characters. |
48
|
| Line is longer than 80 characters. |
49
|
| Line has trailing spaces. |
50
|
| First sentence should end with a period. |
51
|
| Line is longer than 80 characters. |
52
|
| Line is longer than 80 characters. |
54
|
| Unclosed HTML tag found: <i>/workspaces</tt> |
54
|
| Line is longer than 80 characters. |
55
|
| Parameter workspaceId should be final. |
57
|
| Expected @param tag for 'workspaceId'. |
57
|
| Expected @throws tag for 'IOException'. |
57
|
| '{' should be on the previous line. |
58
|
| Line is longer than 80 characters. |
60
|
| '(' is followed by whitespace. |
60
|
| ')' is preceded with whitespace. |
60
|
| Line has trailing spaces. |
61
|
| ':' should be on a new line. |
66
|
| '+' is not preceded with whitespace. |
67
|
| '+' is not followed by whitespace. |
67
|
| '+' is not followed by whitespace. |
68
|
| Line is longer than 80 characters. |
69
|
| '+' is not followed by whitespace. |
69
|
| '+' is not preceded with whitespace. |
69
|
| '+' is not followed by whitespace. |
69
|
| Line has trailing spaces. |
70
|
| ':' should be on a new line. |
71
|
| '+' is not preceded with whitespace. |
72
|
| '+' is not followed by whitespace. |
72
|
| '+' is not followed by whitespace. |
73
|
| '+' is not followed by whitespace. |
74
|
| '+' is not preceded with whitespace. |
74
|
| '+' is not followed by whitespace. |
74
|
| Line has trailing spaces. |
75
|
| '{' should be on the previous line. |
77
|
| Line is longer than 80 characters. |
78
|
| ',' is not followed by whitespace. |
78
|
| '}' should be on the same line. |
80
|
| '{' should be on the previous line. |
82
|
| ',' is not followed by whitespace. |
83
|
| Line has trailing spaces. |
85
|
| '{' should be on the previous line. |
88
|
| Line is longer than 80 characters. |
89
|
| '+' is not preceded with whitespace. |
89
|
| '+' is not followed by whitespace. |
89
|
| '+' is not preceded with whitespace. |
89
|
| '+' is not followed by whitespace. |
89
|
| Line has trailing spaces. |
93
|
| Line is longer than 80 characters. |
95
|
| '+' is not preceded with whitespace. |
95
|
| '+' is not followed by whitespace. |
95
|
| '+' is not preceded with whitespace. |
95
|
| '+' is not followed by whitespace. |
95
|
| Line has trailing spaces. |
97
|
| '{' should be on the previous line. |
100
|
| Line has trailing spaces. |
103
|
| Line is longer than 80 characters. |
104
|
| '+' is not preceded with whitespace. |
104
|
| '+' is not followed by whitespace. |
104
|
| Method 'close' is not designed for extension - needs to be abstract, final or empty. |
113
|
| Expected @throws tag for 'IOException'. |
113
|
| '{' should be on the previous line. |
114
|
| Line is longer than 80 characters. |
115
|
| Expected an @return tag. |
130
|
| Method 'isClosed' is not designed for extension - needs to be abstract, final or empty. |
130
|
| '{' should be on the previous line. |
131
|
| First sentence should end with a period. |
135
|
| Method 'finalize' is not designed for extension - needs to be abstract, final or empty. |
139
|
| Expected @throws tag for 'Throwable'. |
139
|
| '{' should be on the previous line. |
140
|
| '}' should be on the same line. |
143
|
| '{' should be on the previous line. |
145
|
| First sentence should end with a period. |
150
|
| Method 'empty' is not designed for extension - needs to be abstract, final or empty. |
153
|
| Expected @throws tag for 'IOException'. |
153
|
| '{' should be on the previous line. |
154
|
| Line is longer than 80 characters. |
155
|
| First sentence should end with a period. |
160
|
| Expected an @return tag. |
164
|
| Method 'makeWorkFile' is not designed for extension - needs to be abstract, final or empty. |
164
|
| Parameter filename should be final. |
164
|
| Expected @param tag for 'filename'. |
164
|
| Expected @throws tag for 'IOException'. |
164
|
| '{' should be on the previous line. |
165
|
| Line is longer than 80 characters. |
166
|
| Line is longer than 80 characters. |
168
|
| Expression can be simplified. |
169
|
| '{' should be on the previous line. |
170
|
| '+' is not preceded with whitespace. |
171
|
| '+' is not followed by whitespace. |
171
|
| '+' is not preceded with whitespace. |
171
|
| '+' is not followed by whitespace. |
171
|
| First sentence should end with a period. |
176
|
| Expected an @return tag. |
179
|
| Method 'makeTempFile' is not designed for extension - needs to be abstract, final or empty. |
179
|
| Parameter prefix should be final. |
179
|
| Expected @param tag for 'prefix'. |
179
|
| Parameter suffix should be final. |
179
|
| Expected @param tag for 'suffix'. |
179
|
| Expected @throws tag for 'IOException'. |
179
|
| '{' should be on the previous line. |
180
|
| First sentence should end with a period. |
184
|
| Expected an @return tag. |
187
|
| Method 'makeTempFile' is not designed for extension - needs to be abstract, final or empty. |
187
|
| Parameter prefix should be final. |
187
|
| Expected @param tag for 'prefix'. |
187
|
| Expected @throws tag for 'IOException'. |
187
|
| '{' should be on the previous line. |
188
|
| First sentence should end with a period. |
192
|
| Expected an @return tag. |
195
|
| Method 'makeTempDir' is not designed for extension - needs to be abstract, final or empty. |
195
|
| Parameter prefix should be final. |
195
|
| Expected @param tag for 'prefix'. |
195
|
| Expected @throws tag for 'IOException'. |
195
|
| '{' should be on the previous line. |
196
|
| First sentence should end with a period. |
203
|
| Parameter dir should be final. |
206
|
| Expected @param tag for 'dir'. |
206
|
| Expected @throws tag for 'IOException'. |
206
|
| '{' should be on the previous line. |
207
|
| '{' should be on the previous line. |
211
|
| '+' is not preceded with whitespace. |
212
|
| '+' is not followed by whitespace. |
212
|
| '{' should be on the previous line. |
215
|
| '+' is not preceded with whitespace. |
216
|
| '+' is not followed by whitespace. |
216
|
| '{' should be on the previous line. |
221
|
| Parameter fod should be final. |
230
|
| Expected @param tag for 'fod'. |
230
|
| Expected @throws tag for 'IOException'. |
230
|
| '{' should be on the previous line. |
231
|
| '{' should be on the previous line. |
234
|
| '{' should be on the previous line. |
243
|
| '+' is not preceded with whitespace. |
244
|
| '+' is not followed by whitespace. |
244
|
| '+' is not preceded with whitespace. |
244
|
| '+' is not followed by whitespace. |
244
|
| Line has trailing spaces. |
247
|
| First sentence should end with a period. |
248
|
| Parameter args should be final. |
251
|
| Expected @param tag for 'args'. |
251
|
| Expected @throws tag for 'IOException'. |
251
|
org/astrogrid/utils/package.html
| Error | Line |
| Missing package documentation file. | 0 |