Checkstyle Errors

The following document contains the results of Checkstyle for severity error.

Summary

FilesErrors
52 209

Files

FilesErrors
org/apache/commons/mail/EmailException.java 2
org/apache/commons/mail/EmailUtils.java 8
org/apache/commons/mail/MultiPartEmail.java 6
org/apache/commons/mail/BaseEmailTestCase.java 15
org/apache/commons/mail/EmailAttachmentTest.java 1
org/apache/commons/mail/EmailTest.java 37
org/apache/commons/mail/HtmlEmailTest.java 1
org/apache/commons/mail/InvalidAddressTest.java 6
org/apache/commons/mail/InvalidInternetAddressTest.java 34
org/apache/commons/mail/MultiPartEmailTest.java 2
org/apache/commons/mail/SendWithAttachmentsTest.java 91
org/apache/commons/mail/SimpleEmailTest.java 2
org/apache/commons/mail/mocks/package.html 1
org/apache/commons/mail/package.html 1
org/apache/commons/mail/settings/EmailConfiguration.java 1
org/apache/commons/mail/settings/package.html 1

org/apache/commons/mail/EmailException.java

ErrorLine
Error Unnecessary parentheses around expression. 97
Error Expression can be simplified. 161

org/apache/commons/mail/EmailUtils.java

ErrorLine
Error Line is longer than 120 characters. 25
Error Line is longer than 120 characters. 41
Error Line is longer than 120 characters. 133
Error Line is longer than 120 characters. 134
Error Line is longer than 120 characters. 143
Error Line is longer than 120 characters. 144
Error Line is longer than 120 characters. 153
Error Line is longer than 120 characters. 162

org/apache/commons/mail/MultiPartEmail.java

ErrorLine
Error Variable 'primaryBodyPart' explicitly initialized to 'null' (default value for its type). 58
Error Must have at least one statement. 240
Error Expected an @return tag. 489
Error Expected an @return tag. 498
Error Expected an @return tag. 526
Error Expected @param tag for 'b'. 535

org/apache/commons/mail/BaseEmailTestCase.java

ErrorLine
Error Missing a Javadoc comment. 46
Error Variable 'fakeMailServer' explicitly initialized to 'null' (default value for its type). 49
Error Static variable definition in wrong order. 65
Error Variable access definition in wrong order. 65
Error Static variable definition in wrong order. 67
Error Variable access definition in wrong order. 67
Error Missing a Javadoc comment. 72
Error Instance variable definition in wrong order. 78
Error Variable access definition in wrong order. 78
Error Instance variable definition in wrong order. 90
Error Variable access definition in wrong order. 90
Error '{' is followed by whitespace. 90
Error Constructor definition in wrong order. 95
Error More than 7 parameters. 264
Error More than 7 parameters. 312

org/apache/commons/mail/EmailAttachmentTest.java

ErrorLine
Error Variable 'attachment' explicitly initialized to 'null' (default value for its type). 32

org/apache/commons/mail/EmailTest.java

ErrorLine
Error Variable 'email' explicitly initialized to 'null' (default value for its type). 45
Error Static variable definition in wrong order. 48
Error Variable access definition in wrong order. 48
Error '{' is followed by whitespace. 73
Error '{' is followed by whitespace. 169
Error '{' is followed by whitespace. 239
Error '{' is followed by whitespace. 260
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 292
Error '{' is followed by whitespace. 359
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 360
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 423
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 469
Error '{' is followed by whitespace. 514
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 516
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 584
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 663
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 709
Error '{' is followed by whitespace. 754
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 756
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 824
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 885
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 933
Error '{' is followed by whitespace. 980
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 982
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 1052
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 1126
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 1174
Error '{' is followed by whitespace. 1221
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 1223
Error Declaring variables, return values or parameters of type 'Hashtable' is not allowed. 1293
Error Declaring variables, return values or parameters of type 'Hashtable' is not allowed. 1318
Error Declaring variables, return values or parameters of type 'Hashtable' is not allowed. 1323
Error Declaring variables, return values or parameters of type 'Hashtable' is not allowed. 1354
Error Declaring variables, return values or parameters of type 'Hashtable' is not allowed. 1372
Error Declaring variables, return values or parameters of type 'Hashtable' is not allowed. 1375
Error '1000' is a magic number. 1576
Error Declaring variables, return values or parameters of type 'ArrayList' is not allowed. 1582

org/apache/commons/mail/HtmlEmailTest.java

ErrorLine
Error Variable 'email' explicitly initialized to 'null' (default value for its type). 36

org/apache/commons/mail/InvalidAddressTest.java

ErrorLine
Error Variable 'email' explicitly initialized to 'null' (default value for its type). 31
Error Static variable definition in wrong order. 34
Error Must have at least one statement. 108
Error Must have at least one statement. 135
Error Must have at least one statement. 162
Error Must have at least one statement. 189

org/apache/commons/mail/InvalidInternetAddressTest.java

ErrorLine
Error Variable 'validateMethod' explicitly initialized to 'null' (default value for its type). 37
Error Missing a Javadoc comment. 81
Error '{' should be on a new line. 110
Error '}' should be alone on a line. 118
Error '{' should be on a new line. 118
Error Must have at least one statement. 118
Error '{' should be on a new line. 125
Error '}' should be alone on a line. 130
Error '{' should be on a new line. 130
Error '+' should be on a new line. 131
Error Unnecessary parentheses around assignment right-hand side. 158
Error '&&' should be on a new line. 160
Error '{' should be on a new line. 162
Error '{' should be on a new line. 166
Error '}' should be alone on a line. 170
Error '{' should be on a new line. 170
Error '{' should be on a new line. 172
Error '+' should be on a new line. 173
Error '{' should be on a new line. 182
Error '}' should be alone on a line. 186
Error '{' should be on a new line. 186
Error '+' should be on a new line. 187
Error Unnecessary parentheses around assignment right-hand side. 215
Error '&&' should be on a new line. 217
Error '{' should be on a new line. 220
Error '{' should be on a new line. 224
Error '}' should be alone on a line. 228
Error '{' should be on a new line. 228
Error '{' should be on a new line. 230
Error '+' should be on a new line. 231
Error '{' should be on a new line. 240
Error '}' should be alone on a line. 244
Error '{' should be on a new line. 244
Error '+' should be on a new line. 245

org/apache/commons/mail/MultiPartEmailTest.java

ErrorLine
Error Variable 'email' explicitly initialized to 'null' (default value for its type). 40
Error Declaring variables, return values or parameters of type 'Hashtable' is not allowed. 165

org/apache/commons/mail/SendWithAttachmentsTest.java

ErrorLine
Error Variable 'email' explicitly initialized to 'null' (default value for its type). 37
Error Line contains a tab character. 129
Error Line contains a tab character. 130
Error Line contains a tab character. 131
Error Line contains a tab character. 132
Error Line contains a tab character. 133
Error Line contains a tab character. 135
Error Line contains a tab character. 136
Error Line contains a tab character. 137
Error Line contains a tab character. 138
Error Line contains a tab character. 139
Error Line contains a tab character. 140
Error Line contains a tab character. 141
Error Line contains a tab character. 142
Error Line contains a tab character. 143
Error Line contains a tab character. 144
Error Line contains a tab character. 146
Error Line contains a tab character. 147
Error Line contains a tab character. 148
Error Line contains a tab character. 149
Error Line contains a tab character. 150
Error Line contains a tab character. 151
Error Line contains a tab character. 153
Error Line contains a tab character. 155
Error Line contains a tab character. 156
Error Line contains a tab character. 157
Error Line contains a tab character. 158
Error Line contains a tab character. 159
Error Line contains a tab character. 161
Error Line contains a tab character. 162
Error Line contains a tab character. 163
Error Line contains a tab character. 164
Error Line contains a tab character. 165
Error Line contains a tab character. 167
Error Line contains a tab character. 169
Error Line contains a tab character. 170
Error Line contains a tab character. 172
Error Line contains a tab character. 173
Error Line contains a tab character. 175
Error Line contains a tab character. 176
Error Line contains a tab character. 178
Error Line contains a tab character. 179
Error Line contains a tab character. 180
Error Line contains a tab character. 182
Error Line contains a tab character. 183
Error Line contains a tab character. 184
Error Line contains a tab character. 185
Error Line contains a tab character. 186
Error Line contains a tab character. 187
Error Line contains a tab character. 188
Error Line contains a tab character. 189
Error Line contains a tab character. 190
Error Line contains a tab character. 191
Error Line contains a tab character. 192
Error Line contains a tab character. 193
Error Line contains a tab character. 195
Error Line contains a tab character. 196
Error Line contains a tab character. 197
Error Line contains a tab character. 198
Error Line contains a tab character. 199
Error Line contains a tab character. 200
Error Line contains a tab character. 201
Error Line contains a tab character. 202
Error Line contains a tab character. 203
Error Line contains a tab character. 204
Error Line contains a tab character. 206
Error Line contains a tab character. 207
Error Line contains a tab character. 208
Error Line contains a tab character. 209
Error Line contains a tab character. 210
Error Line contains a tab character. 211
Error Line contains a tab character. 212
Error Line contains a tab character. 213
Error Line contains a tab character. 214
Error Line contains a tab character. 215
Error Line contains a tab character. 216
Error Line contains a tab character. 218
Error Line contains a tab character. 219
Error Line contains a tab character. 220
Error Line contains a tab character. 221
Error Line contains a tab character. 222
Error Line contains a tab character. 223
Error Line contains a tab character. 224
Error Line contains a tab character. 225
Error Line contains a tab character. 226
Error Line contains a tab character. 227
Error Line contains a tab character. 228
Error Line contains a tab character. 229
Error Line contains a tab character. 230
Error Line contains a tab character. 231
Error Line contains a tab character. 232

org/apache/commons/mail/SimpleEmailTest.java

ErrorLine
Error Type Javadoc comment is missing an @author tag. 28
Error Variable 'email' explicitly initialized to 'null' (default value for its type). 31

org/apache/commons/mail/mocks/package.html

ErrorLine
Error Missing package documentation file.0

org/apache/commons/mail/package.html

ErrorLine
Error Missing package documentation file.0

org/apache/commons/mail/settings/EmailConfiguration.java

ErrorLine
Error Utility classes should not have a public or default constructor. 23

org/apache/commons/mail/settings/package.html

ErrorLine
Error Missing package documentation file.0