Checkstyle Results
The following document contains the results of
Checkstyle.
Summary
| Files | Infos | Warnings | Errors |
| 42 | 0 | 0 | 907 |
Files
net/sf/jgmail/AbstractDataPack.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
43
|
| Name 'LOG' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
43
|
| Line has trailing spaces. |
44
|
| Missing a Javadoc comment. |
45
|
| Variable 'session' must be private and have accessor methods. |
45
|
| Missing a Javadoc comment. |
46
|
| Line has trailing spaces. |
47
|
| Line has trailing spaces. |
49
|
| Parameter session should be final. |
51
|
| 'session' hides a field. |
51
|
| Expected @param tag for 'session'. |
51
|
| Line has trailing spaces. |
53
|
| Line has trailing spaces. |
56
|
| Method 'addType' is not designed for extension - needs to be abstract, final or empty. |
57
|
| Missing a Javadoc comment. |
57
|
| Parameter type should be final. |
57
|
| Line has trailing spaces. |
60
|
| Line is longer than 80 characters. |
61
|
| Method 'parseDataPack' is not designed for extension - needs to be abstract, final or empty. |
61
|
| Missing a Javadoc comment. |
61
|
| Parameter rawDataPackResponse should be final. |
61
|
| Line is longer than 80 characters. |
64
|
| Line is longer than 80 characters. |
70
|
| Line has trailing spaces. |
77
|
| 'cast' is not followed by whitespace. |
79
|
| 'cast' is not followed by whitespace. |
84
|
net/sf/jgmail/DataPackException.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Parameter message should be final. |
34
|
| Expected @param tag for 'message'. |
34
|
| Parameter cause should be final. |
41
|
| Expected @param tag for 'cause'. |
41
|
| Parameter message should be final. |
49
|
| Expected @param tag for 'message'. |
49
|
| Parameter cause should be final. |
49
|
| Expected @param tag for 'cause'. |
49
|
net/sf/jgmail/GmailAdapter.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
53
|
| 'static' modifier out of order with the JLS suggestions. |
53
|
| Line has trailing spaces. |
54
|
| Class ThreadFetchType should be declared as final. |
55
|
| Line has trailing spaces. |
55
|
| Missing a Javadoc comment. |
55
|
| Line contains a tab character. |
55
|
| Missing a Javadoc comment. |
56
|
| '{' is not followed by whitespace. |
56
|
| '}' is not preceded with whitespace. |
56
|
| Missing a Javadoc comment. |
57
|
| Name 'AllUnread' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
57
|
| Variable 'AllUnread' must be private and have accessor methods. |
57
|
| Missing a Javadoc comment. |
58
|
| Name 'Inbox' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
58
|
| Variable 'Inbox' must be private and have accessor methods. |
58
|
| Class RequestType should be declared as final. |
61
|
| Missing a Javadoc comment. |
61
|
| Missing a Javadoc comment. |
62
|
| Variable 'type' must be private and have accessor methods. |
62
|
| Missing a Javadoc comment. |
63
|
| Parameter type should be final. |
63
|
| 'type' hides a field. |
63
|
| Missing a Javadoc comment. |
66
|
| Name 'GET' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
66
|
| Variable 'GET' must be private and have accessor methods. |
66
|
| Missing a Javadoc comment. |
67
|
| Name 'POST' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
67
|
| Variable 'POST' must be private and have accessor methods. |
67
|
| Line has trailing spaces. |
69
|
| Missing a Javadoc comment. |
70
|
| Name 'GOOGLE_LOGIN_PATH' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
70
|
| Variable 'GOOGLE_LOGIN_PATH' must be private and have accessor methods. |
70
|
| Line is longer than 80 characters. |
71
|
| Missing a Javadoc comment. |
71
|
| Name 'GOOGLE_LOGIN_URL' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
71
|
| Variable 'GOOGLE_LOGIN_URL' must be private and have accessor methods. |
71
|
| Line is longer than 80 characters. |
72
|
| Line contains a tab character. |
72
|
| Missing a Javadoc comment. |
72
|
| Name 'GOOGLE_LOGIN_REFERRER_URL' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
72
|
| Variable 'GOOGLE_LOGIN_REFERRER_URL' must be private and have accessor methods. |
72
|
| Line contains a tab character. |
73
|
| Missing a Javadoc comment. |
73
|
| Name 'GMAIL_HOST_URL' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
73
|
| Variable 'GMAIL_HOST_URL' must be private and have accessor methods. |
73
|
| Line contains a tab character. |
75
|
| Missing a Javadoc comment. |
75
|
| Line contains a tab character. |
76
|
| Missing a Javadoc comment. |
76
|
| Missing a Javadoc comment. |
77
|
| Line contains a tab character. |
82
|
| Parameter session should be final. |
82
|
| 'session' hides a field. |
82
|
| Expected @param tag for 'session'. |
82
|
| Line contains a tab character. |
87
|
| Method 'getSession' is not designed for extension - needs to be abstract, final or empty. |
89
|
| Missing a Javadoc comment. |
89
|
| Line has trailing spaces. |
92
|
| Line is longer than 80 characters. |
100
|
| Line contains a tab character. |
100
|
| Method 'refresh' is not designed for extension - needs to be abstract, final or empty. |
100
|
| Parameter threadFetchType should be final. |
100
|
| Expected @param tag for 'threadFetchType'. |
100
|
| Expected @throws tag for 'IOException'. |
100
|
| Expected @throws tag for 'LoginException'. |
100
|
| Expected @throws tag for 'DataPackException'. |
100
|
| Line contains a tab character. |
102
|
| Line has trailing spaces. |
103
|
| Line is longer than 80 characters. |
103
|
| Line contains a tab character. |
103
|
| 'if' is not followed by whitespace. |
103
|
| '||' should be on a new line. |
103
|
| Line is longer than 80 characters. |
104
|
| Line contains a tab character. |
104
|
| Line contains a tab character. |
105
|
| '{' should be on the previous line. |
105
|
| Line is longer than 80 characters. |
106
|
| Line contains a tab character. |
106
|
| Line contains a tab character. |
107
|
| Line is longer than 80 characters. |
109
|
| Line contains a tab character. |
109
|
| Line has trailing spaces. |
110
|
| Line contains a tab character. |
110
|
| 'if' is not followed by whitespace. |
110
|
| '||' should be on a new line. |
110
|
| Line is longer than 80 characters. |
111
|
| '1000' is a magic number. |
111
|
| '60' is a magic number. |
111
|
| '60' is a magic number. |
111
|
| Line contains a tab character. |
112
|
| Line contains a tab character. |
113
|
| Line contains a tab character. |
114
|
| Line contains a tab character. |
116
|
| Line contains a tab character. |
118
|
| Line contains a tab character. |
120
|
| Line is longer than 80 characters. |
121
|
| Line contains a tab character. |
122
|
| Line contains a tab character. |
123
|
| Line contains a tab character. |
124
|
| Line contains a tab character. |
125
|
| Line is longer than 80 characters. |
126
|
| Line contains a tab character. |
126
|
| Parameter threadFetchType should be final. |
126
|
| Expected @param tag for 'threadFetchType'. |
126
|
| Expected @throws tag for 'IOException'. |
126
|
| Expected @throws tag for 'LoginException'. |
126
|
| Expected @throws tag for 'DataPackException'. |
126
|
| Line contains a tab character. |
128
|
| Line contains a tab character. |
129
|
| Line contains a tab character. |
130
|
| Line contains a tab character. |
131
|
| Line contains a tab character. |
133
|
| Line contains a tab character. |
134
|
| Line contains a tab character. |
135
|
| Line has trailing spaces. |
136
|
| Line contains a tab character. |
136
|
| Line is longer than 80 characters. |
145
|
| Line has trailing spaces. |
149
|
| Line is longer than 80 characters. |
149
|
| Line contains a tab character. |
149
|
| '+' should be on a new line. |
149
|
| Line contains a tab character. |
151
|
| 'if' is not followed by whitespace. |
155
|
| Line is longer than 80 characters. |
156
|
| Line has trailing spaces. |
158
|
| Line is longer than 80 characters. |
161
|
| '7' is a magic number. |
163
|
| Line has trailing spaces. |
164
|
| Line is longer than 80 characters. |
165
|
| Line contains a tab character. |
165
|
| Line contains a tab character. |
166
|
| Line contains a tab character. |
167
|
| Line contains a tab character. |
168
|
| Line is longer than 80 characters. |
169
|
| Line contains a tab character. |
169
|
| Line is longer than 80 characters. |
171
|
| Line contains a tab character. |
173
|
| Line is longer than 80 characters. |
174
|
| Line contains a tab character. |
175
|
| Line contains a tab character. |
176
|
| Line contains a tab character. |
177
|
| Line contains a tab character. |
181
|
| Line has trailing spaces. |
185
|
| Line contains a tab character. |
187
|
| Line contains a tab character. |
195
|
| Method 'getContacts' is not designed for extension - needs to be abstract, final or empty. |
195
|
| Expected @throws tag for 'IOException'. |
195
|
| Expected @throws tag for 'DataPackException'. |
195
|
| Line has trailing spaces. |
196
|
| Line contains a tab character. |
196
|
| Line contains a tab character. |
197
|
| Line contains a tab character. |
198
|
| Line contains a tab character. |
199
|
| Line has trailing spaces. |
200
|
| Line contains a tab character. |
201
|
| Line is longer than 80 characters. |
202
|
| Line contains a tab character. |
202
|
| Line is longer than 80 characters. |
203
|
| Line contains a tab character. |
203
|
| Line has trailing spaces. |
204
|
| Line contains a tab character. |
204
|
| Line contains a tab character. |
205
|
| Line contains a tab character. |
206
|
| Line has trailing spaces. |
207
|
| Line contains a tab character. |
207
|
| Line contains a tab character. |
208
|
| 'if' is not followed by whitespace. |
208
|
| '128' is a magic number. |
208
|
| Line contains a tab character. |
209
|
| Line is longer than 80 characters. |
210
|
| Line contains a tab character. |
210
|
| '13' is a magic number. |
210
|
| Line is longer than 80 characters. |
211
|
| Line contains a tab character. |
211
|
| Line is longer than 80 characters. |
212
|
| Line contains a tab character. |
212
|
| Line contains a tab character. |
214
|
| Line contains a tab character. |
217
|
| Line contains a tab character. |
218
|
| Line is longer than 80 characters. |
220
|
| Line contains a tab character. |
220
|
| Line is longer than 80 characters. |
221
|
| Line contains a tab character. |
221
|
| 'for' is not followed by whitespace. |
221
|
| ';' is followed by whitespace. |
221
|
| 'cast' is not followed by whitespace. |
222
|
| Line contains a tab character. |
223
|
| 'if' is not followed by whitespace. |
223
|
| '6' is a magic number. |
223
|
| Line is longer than 80 characters. |
224
|
| Line contains a tab character. |
224
|
| Line is longer than 80 characters. |
225
|
| Line contains a tab character. |
225
|
| Line is longer than 80 characters. |
226
|
| Line contains a tab character. |
226
|
| Line is longer than 80 characters. |
227
|
| Line contains a tab character. |
227
|
| Line is longer than 80 characters. |
228
|
| Line contains a tab character. |
228
|
| Line is longer than 80 characters. |
229
|
| '4' is a magic number. |
229
|
| Avoid inline conditionals. |
229
|
| Line is longer than 80 characters. |
230
|
| Line contains a tab character. |
230
|
| '5' is a magic number. |
230
|
| Line contains a tab character. |
231
|
| Line contains a tab character. |
232
|
| Line is longer than 80 characters. |
233
|
| Line contains a tab character. |
233
|
| Line contains a tab character. |
234
|
| Line contains a tab character. |
235
|
| Line contains a tab character. |
236
|
| Line contains a tab character. |
237
|
| Line contains a tab character. |
238
|
| Line has trailing spaces. |
241
|
| Line is longer than 80 characters. |
248
|
| Line contains a tab character. |
248
|
| Method 'addContact' is not designed for extension - needs to be abstract, final or empty. |
248
|
| Parameter name should be final. |
248
|
| Parameter email should be final. |
248
|
| Parameter notes should be final. |
248
|
| Expected @throws tag for 'IOException'. |
248
|
| Line contains a tab character. |
249
|
| 'if' is not followed by whitespace. |
249
|
| '100' is a magic number. |
249
|
| ',' is not followed by whitespace. |
250
|
| '100' is a magic number. |
250
|
| Line contains a tab character. |
252
|
| 'if' is not followed by whitespace. |
252
|
| '100' is a magic number. |
252
|
| ',' is not followed by whitespace. |
253
|
| '100' is a magic number. |
253
|
| Line contains a tab character. |
263
|
| Line is longer than 80 characters. |
264
|
| Line contains a tab character. |
264
|
| Comment matches to-do format 'TODO:'. |
265
|
| Line contains a tab character. |
266
|
| First sentence should end with a period. |
268
|
| Method 'addLabel' is not designed for extension - needs to be abstract, final or empty. |
273
|
| Parameter labelName should be final. |
273
|
| Expected @throws tag for 'IOException'. |
273
|
| Line is longer than 80 characters. |
275
|
| Line has trailing spaces. |
280
|
| Line is longer than 80 characters. |
281
|
| Comment matches to-do format 'TODO:'. |
282
|
| Line has trailing spaces. |
284
|
| Line contains a tab character. |
287
|
| Unused @param tag for 'method'. |
288
|
| Line contains a tab character. |
288
|
| Line is longer than 80 characters. |
290
|
| Line contains a tab character. |
290
|
| Line is longer than 80 characters. |
291
|
| Unused @param tag for 'allowAutoRedirect'. |
291
|
| Line contains a tab character. |
291
|
| Line contains a tab character. |
292
|
| Line is longer than 80 characters. |
294
|
| Line contains a tab character. |
294
|
| Method 'makeWebRequest' is not designed for extension - needs to be abstract, final or empty. |
294
|
| Parameter location should be final. |
294
|
| Parameter requestType should be final. |
294
|
| Expected @param tag for 'requestType'. |
294
|
| Parameter referrer should be final. |
294
|
| Parameter postData should be final. |
294
|
| Expected @throws tag for 'IOException'. |
294
|
| Line contains a tab character. |
296
|
| Line is longer than 80 characters. |
297
|
| Line contains a tab character. |
301
|
| 'cast' is not followed by whitespace. |
303
|
| Line contains a tab character. |
304
|
| Line contains a tab character. |
306
|
| Line is longer than 80 characters. |
309
|
| Line is longer than 80 characters. |
310
|
| Line contains a tab character. |
310
|
| Line has trailing spaces. |
313
|
| Line contains a tab character. |
320
|
| Line is longer than 80 characters. |
323
|
| Line contains a tab character. |
326
|
| Method 'makeUniqueUrl' is not designed for extension - needs to be abstract, final or empty. |
326
|
| Line contains a tab character. |
327
|
| Line has trailing spaces. |
328
|
| Line contains a tab character. |
328
|
| Line contains a tab character. |
329
|
| First sentence should end with a period. |
331
|
| Method 'sendMessage' is not designed for extension - needs to be abstract, final or empty. |
336
|
| Parameter message should be final. |
336
|
| Expected @param tag for 'message'. |
336
|
| Expected @throws tag for 'IOException'. |
336
|
| Line has trailing spaces. |
339
|
| ',' is not followed by whitespace. |
341
|
| Line has trailing spaces. |
346
|
| 'if' is not followed by whitespace. |
347
|
| Line has trailing spaces. |
350
|
| 'cast' is not followed by whitespace. |
351
|
| Line is longer than 80 characters. |
353
|
| 'if' is not followed by whitespace. |
354
|
| Line has trailing spaces. |
360
|
| Line is longer than 80 characters. |
366
|
| Method 'getMessageBody' is not designed for extension - needs to be abstract, final or empty. |
366
|
| Parameter message should be final. |
366
|
| Expected @param tag for 'message'. |
366
|
| Expected @throws tag for 'IOException'. |
366
|
| Expected @throws tag for 'DataPackException'. |
366
|
| Line has trailing spaces. |
369
|
| Missing a Javadoc comment. |
371
|
| Parameter cookie should be final. |
371
|
| Line has trailing spaces. |
374
|
| Missing a Javadoc comment. |
375
|
| Parameter name should be final. |
375
|
| Line is longer than 80 characters. |
376
|
| ';' is followed by whitespace. |
376
|
| 'cast' is not followed by whitespace. |
377
|
net/sf/jgmail/GmailContact.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
34
|
| Missing a Javadoc comment. |
35
|
| Missing a Javadoc comment. |
36
|
| Missing a Javadoc comment. |
37
|
| Missing a Javadoc comment. |
38
|
| Missing a Javadoc comment. |
40
|
| Missing a Javadoc comment. |
48
|
| Parameter email should be final. |
48
|
| 'email' hides a field. |
48
|
| Parameter name should be final. |
48
|
| 'name' hides a field. |
48
|
| Method 'getEmail' is not designed for extension - needs to be abstract, final or empty. |
62
|
| Method 'setEmail' is not designed for extension - needs to be abstract, final or empty. |
68
|
| Parameter email should be final. |
68
|
| 'email' hides a field. |
68
|
| Method 'getEmailUnescaped' is not designed for extension - needs to be abstract, final or empty. |
74
|
| Method 'setEmailUnescaped' is not designed for extension - needs to be abstract, final or empty. |
80
|
| Parameter emailUnescaped should be final. |
80
|
| 'emailUnescaped' hides a field. |
80
|
| Method 'isFrequentlyMailed' is not designed for extension - needs to be abstract, final or empty. |
86
|
| Method 'setFrequentlyMailed' is not designed for extension - needs to be abstract, final or empty. |
92
|
| Parameter isFrequentlyMailed should be final. |
92
|
| 'isFrequentlyMailed' hides a field. |
92
|
| Method 'getName' is not designed for extension - needs to be abstract, final or empty. |
98
|
| Method 'setName' is not designed for extension - needs to be abstract, final or empty. |
104
|
| Parameter name should be final. |
104
|
| 'name' hides a field. |
104
|
| Method 'getNotes' is not designed for extension - needs to be abstract, final or empty. |
110
|
| Method 'setNotes' is not designed for extension - needs to be abstract, final or empty. |
116
|
| Parameter notes should be final. |
116
|
| 'notes' hides a field. |
116
|
net/sf/jgmail/GmailCookieFactory.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
31
|
| '{' is not preceded with whitespace. |
31
|
| Missing a Javadoc comment. |
33
|
| Missing a Javadoc comment. |
34
|
| Line has trailing spaces. |
35
|
| Line contains a tab character. |
36
|
| Method 'GenerateCookie' is not designed for extension - needs to be abstract, final or empty. |
36
|
| Missing a Javadoc comment. |
36
|
| Name 'GenerateCookie' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
36
|
| Parameter cookieName should be final. |
36
|
| Line contains a tab character. |
37
|
| Line contains a tab character. |
40
|
| Line is longer than 80 characters. |
41
|
| '10200' is a magic number. |
41
|
| '10000' is a magic number. |
41
|
| Line is longer than 80 characters. |
44
|
| '1000' is a magic number. |
44
|
| '60' is a magic number. |
44
|
| Line contains a tab character. |
46
|
| Line is longer than 80 characters. |
48
|
| Line has trailing spaces. |
53
|
| Line contains a tab character. |
56
|
net/sf/jgmail/GmailSession.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
41
|
| Missing a Javadoc comment. |
42
|
| Missing a Javadoc comment. |
43
|
| Missing a Javadoc comment. |
44
|
| Missing a Javadoc comment. |
45
|
| Missing a Javadoc comment. |
46
|
| Missing a Javadoc comment. |
47
|
| Missing a Javadoc comment. |
48
|
| Missing a Javadoc comment. |
49
|
| Missing a Javadoc comment. |
50
|
| Missing a Javadoc comment. |
51
|
| Missing a Javadoc comment. |
52
|
| Missing a Javadoc comment. |
53
|
| Missing a Javadoc comment. |
54
|
| Line has trailing spaces. |
55
|
| Missing a Javadoc comment. |
56
|
| Line has trailing spaces. |
57
|
| Line has trailing spaces. |
59
|
| Parameter username should be final. |
63
|
| 'username' hides a field. |
63
|
| Expected @param tag for 'username'. |
63
|
| Parameter password should be final. |
63
|
| 'password' hides a field. |
63
|
| Expected @param tag for 'password'. |
63
|
| Line has trailing spaces. |
64
|
| Line has trailing spaces. |
71
|
| Line has trailing spaces. |
74
|
| Method 'getContacts' is not designed for extension - needs to be abstract, final or empty. |
83
|
| Expected @throws tag for 'IOException'. |
83
|
| Expected @throws tag for 'DataPackException'. |
83
|
| Line has trailing spaces. |
86
|
| First sentence should end with a period. |
87
|
| Line is longer than 80 characters. |
93
|
| Method 'getMessageBody' is not designed for extension - needs to be abstract, final or empty. |
93
|
| Parameter thread should be final. |
93
|
| Expected @param tag for 'thread'. |
93
|
| Expected @throws tag for 'IOException'. |
93
|
| Expected @throws tag for 'DataPackException'. |
93
|
| Line has trailing spaces. |
96
|
| First sentence should end with a period. |
97
|
| Method 'addLabel' is not designed for extension - needs to be abstract, final or empty. |
102
|
| Parameter labelName should be final. |
102
|
| Expected @param tag for 'labelName'. |
102
|
| Expected @throws tag for 'IOException'. |
102
|
| Line has trailing spaces. |
105
|
| First sentence should end with a period. |
106
|
| Method 'sendMessage' is not designed for extension - needs to be abstract, final or empty. |
111
|
| Parameter message should be final. |
111
|
| Expected @param tag for 'message'. |
111
|
| Expected @throws tag for 'IOException'. |
111
|
| Line has trailing spaces. |
114
|
| First sentence should end with a period. |
115
|
| Line is longer than 80 characters. |
121
|
| Method 'refreshAllUnread' is not designed for extension - needs to be abstract, final or empty. |
121
|
| Expected @throws tag for 'IOException'. |
121
|
| Expected @throws tag for 'LoginException'. |
121
|
| Expected @throws tag for 'DataPackException'. |
121
|
| Line has trailing spaces. |
124
|
| First sentence should end with a period. |
125
|
| Line is longer than 80 characters. |
131
|
| Method 'refreshInbox' is not designed for extension - needs to be abstract, final or empty. |
131
|
| Expected @throws tag for 'IOException'. |
131
|
| Expected @throws tag for 'LoginException'. |
131
|
| Expected @throws tag for 'DataPackException'. |
131
|
| Line has trailing spaces. |
134
|
| First sentence should end with a period. |
135
|
| Method 'forceNextRefreshFull' is not designed for extension - needs to be abstract, final or empty. |
139
|
| Line has trailing spaces. |
142
|
| Line has trailing spaces. |
149
|
| Method 'getDiskQuota' is not designed for extension - needs to be abstract, final or empty. |
153
|
| Method 'setDiskQuota' is not designed for extension - needs to be abstract, final or empty. |
159
|
| Parameter diskQuota should be final. |
159
|
| 'diskQuota' hides a field. |
159
|
| Method 'getPercentUsed' is not designed for extension - needs to be abstract, final or empty. |
165
|
| Method 'setPercentUsed' is not designed for extension - needs to be abstract, final or empty. |
171
|
| Parameter percentUsed should be final. |
171
|
| 'percentUsed' hides a field. |
171
|
| Method 'getSpaceUsed' is not designed for extension - needs to be abstract, final or empty. |
177
|
| Method 'setSpaceUsed' is not designed for extension - needs to be abstract, final or empty. |
183
|
| Parameter spaceUsed should be final. |
183
|
| 'spaceUsed' hides a field. |
183
|
| Method 'getCategoryCounts' is not designed for extension - needs to be abstract, final or empty. |
189
|
| Method 'getDefaultSearchCounts' is not designed for extension - needs to be abstract, final or empty. |
195
|
| Method 'getFingerprint' is not designed for extension - needs to be abstract, final or empty. |
201
|
| Method 'setFingerprint' is not designed for extension - needs to be abstract, final or empty. |
207
|
| Parameter fingerprint should be final. |
207
|
| 'fingerprint' hides a field. |
207
|
| Method 'getLastLoginTime' is not designed for extension - needs to be abstract, final or empty. |
213
|
| Method 'setLastLoginTime' is not designed for extension - needs to be abstract, final or empty. |
219
|
| Parameter lastLoginTime should be final. |
219
|
| 'lastLoginTime' hides a field. |
219
|
| Method 'getLastRefreshTime' is not designed for extension - needs to be abstract, final or empty. |
225
|
| Method 'setLastRefreshTime' is not designed for extension - needs to be abstract, final or empty. |
231
|
| Parameter lastRefreshTime should be final. |
231
|
| 'lastRefreshTime' hides a field. |
231
|
| Method 'getPassword' is not designed for extension - needs to be abstract, final or empty. |
237
|
| Method 'setPassword' is not designed for extension - needs to be abstract, final or empty. |
243
|
| Parameter password should be final. |
243
|
| 'password' hides a field. |
243
|
| Method 'getThreadListTimestamp' is not designed for extension - needs to be abstract, final or empty. |
249
|
| Method 'setThreadListTimestamp' is not designed for extension - needs to be abstract, final or empty. |
255
|
| Parameter threadListTimestamp should be final. |
255
|
| 'threadListTimestamp' hides a field. |
255
|
| Method 'getTotalMessages' is not designed for extension - needs to be abstract, final or empty. |
261
|
| Method 'setTotalMessages' is not designed for extension - needs to be abstract, final or empty. |
267
|
| Parameter totalMessages should be final. |
267
|
| 'totalMessages' hides a field. |
267
|
| Method 'getUnreadThreads' is not designed for extension - needs to be abstract, final or empty. |
273
|
| Method 'getUsername' is not designed for extension - needs to be abstract, final or empty. |
279
|
| Method 'setUsername' is not designed for extension - needs to be abstract, final or empty. |
285
|
| Parameter username should be final. |
285
|
| 'username' hides a field. |
285
|
| Line has trailing spaces. |
288
|
| Method 'getThreads' is not designed for extension - needs to be abstract, final or empty. |
292
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
299
|
net/sf/jgmail/GmailThread.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
38
|
| Missing a Javadoc comment. |
39
|
| Missing a Javadoc comment. |
40
|
| Missing a Javadoc comment. |
41
|
| Missing a Javadoc comment. |
42
|
| Missing a Javadoc comment. |
43
|
| Missing a Javadoc comment. |
44
|
| Missing a Javadoc comment. |
45
|
| Missing a Javadoc comment. |
46
|
| Missing a Javadoc comment. |
47
|
| Missing a Javadoc comment. |
48
|
| Missing a Javadoc comment. |
49
|
| Missing a Javadoc comment. |
50
|
| Line has trailing spaces. |
51
|
| Method 'getBodyHtml' is not designed for extension - needs to be abstract, final or empty. |
56
|
| Method 'setBodyHtml' is not designed for extension - needs to be abstract, final or empty. |
62
|
| Parameter bodyHtml should be final. |
62
|
| 'bodyHtml' hides a field. |
62
|
| Method 'getAttachHtml' is not designed for extension - needs to be abstract, final or empty. |
68
|
| Method 'setAttachHtml' is not designed for extension - needs to be abstract, final or empty. |
74
|
| Parameter attachHtml should be final. |
74
|
| 'attachHtml' hides a field. |
74
|
| Method 'getAuthorsHtml' is not designed for extension - needs to be abstract, final or empty. |
80
|
| Method 'setAuthorsHtml' is not designed for extension - needs to be abstract, final or empty. |
86
|
| Parameter authorsHtml should be final. |
86
|
| 'authorsHtml' hides a field. |
86
|
| Method 'getCategories' is not designed for extension - needs to be abstract, final or empty. |
92
|
| Method 'setCategories' is not designed for extension - needs to be abstract, final or empty. |
98
|
| Parameter categories should be final. |
98
|
| 'categories' hides a field. |
98
|
| Method 'getDateHtml' is not designed for extension - needs to be abstract, final or empty. |
104
|
| Method 'setDateHtml' is not designed for extension - needs to be abstract, final or empty. |
110
|
| Parameter dateHtml should be final. |
110
|
| 'dateHtml' hides a field. |
110
|
| Method 'getFlags' is not designed for extension - needs to be abstract, final or empty. |
116
|
| Method 'setFlags' is not designed for extension - needs to be abstract, final or empty. |
122
|
| Parameter flags should be final. |
122
|
| 'flags' hides a field. |
122
|
| Method 'isHasExtraSnippet' is not designed for extension - needs to be abstract, final or empty. |
128
|
| Method 'setHasExtraSnippet' is not designed for extension - needs to be abstract, final or empty. |
134
|
| Parameter hasExtraSnippet should be final. |
134
|
| 'hasExtraSnippet' hides a field. |
134
|
| Method 'isRead' is not designed for extension - needs to be abstract, final or empty. |
140
|
| Method 'setRead' is not designed for extension - needs to be abstract, final or empty. |
146
|
| Parameter isRead should be final. |
146
|
| 'isRead' hides a field. |
146
|
| Method 'isStarred' is not designed for extension - needs to be abstract, final or empty. |
152
|
| Method 'setStarred' is not designed for extension - needs to be abstract, final or empty. |
158
|
| Parameter isStarred should be final. |
158
|
| 'isStarred' hides a field. |
158
|
| Method 'getMatchingMessageID' is not designed for extension - needs to be abstract, final or empty. |
164
|
| Method 'setMatchingMessageID' is not designed for extension - needs to be abstract, final or empty. |
170
|
| Parameter matchingMessageID should be final. |
170
|
| 'matchingMessageID' hides a field. |
170
|
| Method 'getSnippetHtml' is not designed for extension - needs to be abstract, final or empty. |
176
|
| Method 'setSnippetHtml' is not designed for extension - needs to be abstract, final or empty. |
182
|
| Parameter snippetHtml should be final. |
182
|
| 'snippetHtml' hides a field. |
182
|
| Method 'getSubjectHtml' is not designed for extension - needs to be abstract, final or empty. |
188
|
| Method 'setSubjectHtml' is not designed for extension - needs to be abstract, final or empty. |
194
|
| Parameter subjectHtml should be final. |
194
|
| 'subjectHtml' hides a field. |
194
|
| Method 'getThreadID' is not designed for extension - needs to be abstract, final or empty. |
200
|
| Method 'setThreadID' is not designed for extension - needs to be abstract, final or empty. |
206
|
| Parameter threadID should be final. |
206
|
| 'threadID' hides a field. |
206
|
| Line has trailing spaces. |
209
|
| Method 'compareTo' is not designed for extension - needs to be abstract, final or empty. |
213
|
| Parameter object should be final. |
213
|
| Method 'equals' is not designed for extension - needs to be abstract, final or empty. |
221
|
| Parameter object should be final. |
221
|
| Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. |
240
|
| '877167349' is a magic number. |
241
|
| '-193426197' is a magic number. |
241
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
252
|
net/sf/jgmail/JSArrayParser.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
34
|
| Missing a Javadoc comment. |
35
|
| Line has trailing spaces. |
36
|
| Missing a Javadoc comment. |
37
|
| Parameter input should be final. |
37
|
| Line has trailing spaces. |
40
|
| Line is longer than 80 characters. |
42
|
| Method 'parse' is not designed for extension - needs to be abstract, final or empty. |
46
|
| Missing a Javadoc comment. |
46
|
| Missing a Javadoc comment. |
58
|
| Parameter input should be final. |
58
|
| Line has trailing spaces. |
61
|
| 'for' is not followed by whitespace. |
68
|
| '=' is not preceded with whitespace. |
68
|
| '=' is not followed by whitespace. |
68
|
| 'if' is not followed by whitespace. |
72
|
| Line has trailing spaces. |
75
|
| Line is longer than 80 characters. |
76
|
| Line has trailing spaces. |
78
|
| 'if' is not followed by whitespace. |
87
|
| 'if' is not followed by whitespace. |
88
|
| Line has trailing spaces. |
91
|
| Line is longer than 80 characters. |
92
|
| 'if' is not followed by whitespace. |
101
|
| 'if' is not followed by whitespace. |
110
|
| Line is longer than 80 characters. |
111
|
| 'if' is not followed by whitespace. |
111
|
| Line is longer than 80 characters. |
114
|
| 'if' is not followed by whitespace. |
114
|
| 'if' is not followed by whitespace. |
122
|
| '+' is not preceded with whitespace. |
122
|
| '+' is not followed by whitespace. |
122
|
| Comment matches to-do format 'TODO:'. |
123
|
| Line is longer than 80 characters. |
123
|
net/sf/jgmail/LoginException.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Parameter message should be final. |
34
|
| Expected @param tag for 'message'. |
34
|
| Parameter cause should be final. |
41
|
| Expected @param tag for 'cause'. |
41
|
| Parameter message should be final. |
49
|
| Expected @param tag for 'message'. |
49
|
| Parameter cause should be final. |
49
|
| Expected @param tag for 'cause'. |
49
|
net/sf/jgmail/Message.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
32
|
| Line has trailing spaces. |
33
|
| Method 'getBody' is not designed for extension - needs to be abstract, final or empty. |
37
|
| Method 'setBody' is not designed for extension - needs to be abstract, final or empty. |
43
|
| Parameter body should be final. |
43
|
| 'body' hides a field. |
43
|
| Method 'getCc' is not designed for extension - needs to be abstract, final or empty. |
49
|
| Method 'setCc' is not designed for extension - needs to be abstract, final or empty. |
55
|
| Parameter cc should be final. |
55
|
| 'cc' hides a field. |
55
|
| Method 'getSubject' is not designed for extension - needs to be abstract, final or empty. |
61
|
| Method 'setSubject' is not designed for extension - needs to be abstract, final or empty. |
67
|
| Parameter subject should be final. |
67
|
| 'subject' hides a field. |
67
|
| Method 'getTo' is not designed for extension - needs to be abstract, final or empty. |
73
|
| Method 'setTo' is not designed for extension - needs to be abstract, final or empty. |
79
|
| Parameter to should be final. |
79
|
| 'to' hides a field. |
79
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
85
|
net/sf/jgmail/MessageBodyFetchDataPack.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
36
|
| Variable 'adapter' must be private and have accessor methods. |
36
|
| Missing a Javadoc comment. |
37
|
| Variable 'thread' must be private and have accessor methods. |
37
|
| Line has trailing spaces. |
38
|
| Line has trailing spaces. |
40
|
| Unused @param tag for 'type'. |
42
|
| Parameter adapter should be final. |
44
|
| 'adapter' hides a field. |
44
|
| Parameter thread should be final. |
44
|
| 'thread' hides a field. |
44
|
| Expected @param tag for 'thread'. |
44
|
| Empty statement. |
47
|
| Line has trailing spaces. |
48
|
| Method 'process' is not designed for extension - needs to be abstract, final or empty. |
52
|
| Missing a Javadoc comment. |
52
|
| Line is longer than 80 characters. |
54
|
| Line is longer than 80 characters. |
55
|
net/sf/jgmail/ThreadFetchDataPack.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
43
|
| Variable 'adapter' must be private and have accessor methods. |
43
|
| Missing a Javadoc comment. |
44
|
| Variable 'threadFetchType' must be private and have accessor methods. |
44
|
| Line has trailing spaces. |
45
|
| Line has trailing spaces. |
47
|
| Line is longer than 80 characters. |
51
|
| Parameter adapter should be final. |
51
|
| 'adapter' hides a field. |
51
|
| Parameter type should be final. |
51
|
| Line has trailing spaces. |
55
|
| Method 'process' is not designed for extension - needs to be abstract, final or empty. |
63
|
| Missing a Javadoc comment. |
63
|
| Line has trailing spaces. |
66
|
| Line is longer than 80 characters. |
73
|
| Line is longer than 80 characters. |
75
|
| Line is longer than 80 characters. |
81
|
| Line is longer than 80 characters. |
83
|
| Line has trailing spaces. |
88
|
| Line is longer than 80 characters. |
89
|
| Line is longer than 80 characters. |
98
|
| Line is longer than 80 characters. |
101
|
net/sf/jgmail/Utilities.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Utility classes should not have a public or default constructor. |
33
|
| Missing a Javadoc comment. |
35
|
| Parameter string should be final. |
35
|
| Missing a Javadoc comment. |
39
|
| Parameter string should be final. |
39
|
| Parameter find should be final. |
39
|
| Parameter start should be final. |
39
|
| Parameter count should be final. |
39
|
| Line has trailing spaces. |
47
|
| Missing a Javadoc comment. |
48
|
| Parameter dataPack should be final. |
48
|
net/sf/jgmail/datapack/CategoriesType.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
38
|
| Variable 'session' must be private and have accessor methods. |
38
|
| Line has trailing spaces. |
39
|
| Line has trailing spaces. |
41
|
| Parameter session should be final. |
43
|
| 'session' hides a field. |
43
|
| Expected @param tag for 'session'. |
43
|
| Method 'parse' is not designed for extension - needs to be abstract, final or empty. |
50
|
| Missing a Javadoc comment. |
50
|
| Parameter array should be final. |
50
|
| 'cast' is not followed by whitespace. |
52
|
| ';' is followed by whitespace. |
52
|
| 'cast' is not followed by whitespace. |
53
|
| 'cast' is not followed by whitespace. |
54
|
| 'cast' is not followed by whitespace. |
54
|
| Method 'getSettingCode' is not designed for extension - needs to be abstract, final or empty. |
61
|
| Missing a Javadoc comment. |
61
|
net/sf/jgmail/datapack/DefaultSearchType.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
37
|
| Variable 'session' must be private and have accessor methods. |
37
|
| Line has trailing spaces. |
38
|
| Line has trailing spaces. |
40
|
| Parameter session should be final. |
42
|
| 'session' hides a field. |
42
|
| Expected @param tag for 'session'. |
42
|
| Method 'parse' is not designed for extension - needs to be abstract, final or empty. |
49
|
| Missing a Javadoc comment. |
49
|
| Parameter array should be final. |
49
|
| Line has trailing spaces. |
50
|
| 'if' is not followed by whitespace. |
51
|
| '6' is a magic number. |
51
|
| Line is longer than 80 characters. |
52
|
| 'cast' is not followed by whitespace. |
55
|
| 'cast' is not followed by whitespace. |
56
|
| 'cast' is not followed by whitespace. |
57
|
| 'cast' is not followed by whitespace. |
58
|
| '3' is a magic number. |
58
|
| 'cast' is not followed by whitespace. |
59
|
| '4' is a magic number. |
59
|
| 'cast' is not followed by whitespace. |
60
|
| '5' is a magic number. |
60
|
| Method 'getSettingCode' is not designed for extension - needs to be abstract, final or empty. |
66
|
| Missing a Javadoc comment. |
66
|
net/sf/jgmail/datapack/DiskQuotaSummaryType.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
36
|
| Variable 'session' must be private and have accessor methods. |
36
|
| Line has trailing spaces. |
37
|
| Line has trailing spaces. |
39
|
| Parameter session should be final. |
41
|
| 'session' hides a field. |
41
|
| Expected @param tag for 'session'. |
41
|
| Method 'parse' is not designed for extension - needs to be abstract, final or empty. |
48
|
| Missing a Javadoc comment. |
48
|
| Parameter array should be final. |
48
|
| Method 'getSettingCode' is not designed for extension - needs to be abstract, final or empty. |
57
|
| Missing a Javadoc comment. |
57
|
net/sf/jgmail/datapack/MessageBodyType.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
36
|
| Variable 'thread' must be private and have accessor methods. |
36
|
| Line has trailing spaces. |
37
|
| Line has trailing spaces. |
39
|
| Parameter thread should be final. |
41
|
| 'thread' hides a field. |
41
|
| Expected @param tag for 'thread'. |
41
|
| Method 'parse' is not designed for extension - needs to be abstract, final or empty. |
48
|
| Missing a Javadoc comment. |
48
|
| Parameter array should be final. |
48
|
| 'cast' is not followed by whitespace. |
49
|
| Method 'getSettingCode' is not designed for extension - needs to be abstract, final or empty. |
62
|
| Missing a Javadoc comment. |
62
|
net/sf/jgmail/datapack/MessageListingsType.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
38
|
| Variable 'session' must be private and have accessor methods. |
38
|
| Line has trailing spaces. |
39
|
| Line has trailing spaces. |
41
|
| Parameter session should be final. |
43
|
| 'session' hides a field. |
43
|
| Expected @param tag for 'session'. |
43
|
| Method 'parse' is not designed for extension - needs to be abstract, final or empty. |
50
|
| Missing a Javadoc comment. |
50
|
| Parameter array should be final. |
50
|
| ';' is followed by whitespace. |
51
|
| 'cast' is not followed by whitespace. |
52
|
| 'cast' is not followed by whitespace. |
55
|
| Line is longer than 80 characters. |
56
|
| 'cast' is not followed by whitespace. |
56
|
| Avoid inline conditionals. |
56
|
| Line is longer than 80 characters. |
57
|
| 'cast' is not followed by whitespace. |
57
|
| Avoid inline conditionals. |
57
|
| 'cast' is not followed by whitespace. |
58
|
| '3' is a magic number. |
58
|
| 'cast' is not followed by whitespace. |
59
|
| '4' is a magic number. |
59
|
| 'cast' is not followed by whitespace. |
60
|
| '5' is a magic number. |
60
|
| 'cast' is not followed by whitespace. |
61
|
| '6' is a magic number. |
61
|
| 'cast' is not followed by whitespace. |
62
|
| '7' is a magic number. |
62
|
| 'cast' is not followed by whitespace. |
63
|
| '8' is a magic number. |
63
|
| 'cast' is not followed by whitespace. |
64
|
| '9' is a magic number. |
64
|
| 'cast' is not followed by whitespace. |
65
|
| '10' is a magic number. |
65
|
| Line has trailing spaces. |
68
|
| Method 'getSettingCode' is not designed for extension - needs to be abstract, final or empty. |
78
|
| Missing a Javadoc comment. |
78
|
net/sf/jgmail/datapack/ThreadListSummaryType.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
36
|
| Variable 'session' must be private and have accessor methods. |
36
|
| Line has trailing spaces. |
37
|
| Line has trailing spaces. |
39
|
| Parameter session should be final. |
41
|
| 'session' hides a field. |
41
|
| Expected @param tag for 'session'. |
41
|
| Method 'parse' is not designed for extension - needs to be abstract, final or empty. |
48
|
| Missing a Javadoc comment. |
48
|
| Parameter array should be final. |
48
|
| '7' is a magic number. |
49
|
| Line is longer than 80 characters. |
50
|
| '5' is a magic number. |
52
|
| '6' is a magic number. |
53
|
| Method 'getSettingCode' is not designed for extension - needs to be abstract, final or empty. |
59
|
| Missing a Javadoc comment. |
59
|
net/sf/jgmail/datapack/Type.java
| Error | Line |
| Line does not match expected header line of 'This program is free software; you can redistribute it and/or'. |
1
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
35
|
| Missing a Javadoc comment. |
36
|
| Line has trailing spaces. |
37
|
net/sf/jgmail/datapack/package.html
| Error | Line |
| Missing package documentation file. | 0 |
net/sf/jgmail/package.html
| Error | Line |
| Missing package documentation file. | 0 |