Checkstyle Results

The following document contains the results of Checkstyle 6.18 with sun_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
1 0 0 292

Rules

Category Rule Violations Severity
blocks LeftCurly 2  Error
RightCurly 13  Error
coding AvoidInlineConditionals 2  Error
HiddenField 1  Error
InnerAssignment 1  Error
MagicNumber 2  Error
design DesignForExtension 5  Error
imports UnusedImports
  • processJavadoc: "false"
1  Error
javadoc JavadocMethod 21  Error
JavadocPackage 1  Error
JavadocType 11  Error
JavadocVariable 32  Error
misc FinalParameters 31  Error
naming ConstantName 2  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
115  Error
sizes LineLength 13  Error
whitespace OperatorWrap 1  Error
WhitespaceAfter 11  Error
WhitespaceAround 27  Error

Details

ejava/examples/ejbsessionbank/web/TellerHandlerServlet.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error imports UnusedImports Unused import - ejava.util.jndi.JNDIUtil. 28
 Error javadoc JavadocType Missing a Javadoc comment. 30
 Error sizes LineLength Line is longer than 80 characters (found 93). 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error naming ConstantName Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error sizes LineLength Line is longer than 80 characters (found 81). 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 35
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 37
 Error javadoc JavadocVariable Missing a Javadoc comment. 38
 Error javadoc JavadocVariable Missing a Javadoc comment. 39
 Error javadoc JavadocVariable Missing a Javadoc comment. 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 41
 Error javadoc JavadocVariable Missing a Javadoc comment. 42
 Error javadoc JavadocVariable Missing a Javadoc comment. 43
 Error javadoc JavadocVariable Missing a Javadoc comment. 44
 Error sizes LineLength Line is longer than 80 characters (found 81). 45
 Error javadoc JavadocVariable Missing a Javadoc comment. 45
 Error regexp RegexpSingleline Line has trailing spaces. 46
 Error javadoc JavadocVariable Missing a Javadoc comment. 46
 Error naming ConstantName Name 'jndiName' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 46
 Error sizes LineLength Line is longer than 80 characters (found 138). 47
 Error regexp RegexpSingleline Line has trailing spaces. 48
 Error regexp RegexpSingleline Line has trailing spaces. 49
 Error javadoc JavadocVariable Missing a Javadoc comment. 49
 Error regexp RegexpSingleline Line has trailing spaces. 51
 Error javadoc JavadocVariable Missing a Javadoc comment. 51
 Error javadoc JavadocVariable Missing a Javadoc comment. 53
 Error regexp RegexpSingleline Line has trailing spaces. 54
 Error regexp RegexpSingleline Line has trailing spaces. 56
 Error regexp RegexpSingleline Line has trailing spaces. 59
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 61
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 61
 Error javadoc JavadocVariable Missing a Javadoc comment. 63
 Error regexp RegexpSingleline Line has trailing spaces. 67
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 70
 Error javadoc JavadocMethod Expected @throws tag for 'ServletException'. 70
 Error regexp RegexpSingleline Line has trailing spaces. 72
 Error regexp RegexpSingleline Line has trailing spaces. 75
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 76
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 76
 Error coding AvoidInlineConditionals Avoid inline conditionals. 76
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 77
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 77
 Error sizes LineLength Line is longer than 80 characters (found 82). 78
 Error regexp RegexpSingleline Line has trailing spaces. 80
 Error regexp RegexpSingleline Line has trailing spaces. 83
 Error regexp RegexpSingleline Line has trailing spaces. 84
 Error regexp RegexpSingleline Line has trailing spaces. 85
 Error regexp RegexpSingleline Line has trailing spaces. 86
 Error regexp RegexpSingleline Line has trailing spaces. 87
 Error regexp RegexpSingleline Line has trailing spaces. 88
 Error regexp RegexpSingleline Line has trailing spaces. 89
 Error regexp RegexpSingleline Line has trailing spaces. 90
 Error regexp RegexpSingleline Line has trailing spaces. 91
 Error sizes LineLength Line is longer than 80 characters (found 82). 91
 Error regexp RegexpSingleline Line has trailing spaces. 92
 Error blocks RightCurly '}' at column 9 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 93
 Error regexp RegexpSingleline Line has trailing spaces. 99
 Error sizes LineLength Line is longer than 80 characters (found 85). 101
 Error regexp RegexpSingleline Line has trailing spaces. 104
 Error design DesignForExtension Method 'getTeller' is not designed for extension - needs to be abstract, final or empty. 106
 Error javadoc JavadocMethod Expected @throws tag for 'NamingException'. 106
 Error coding HiddenField 'teller' hides a field. 107
 Error sizes LineLength Line is longer than 80 characters (found 98). 111
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 112
 Error coding InnerAssignment Inner assignments should be avoided. 112
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 112
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 112
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 112
 Error regexp RegexpSingleline Line has trailing spaces. 118
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 121
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 125
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 125
 Error blocks LeftCurly '{' at column 21 should have line break after. 126
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 126
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 126
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 126
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 128
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 128
 Error blocks LeftCurly '{' at column 21 should have line break after. 129
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 129
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 129
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 129
 Error regexp RegexpSingleline Line has trailing spaces. 139
 Error design DesignForExtension Method 'doGet' is not designed for extension - needs to be abstract, final or empty. 139
 Error misc FinalParameters Parameter request should be final. 139
 Error javadoc JavadocMethod Expected @param tag for 'request'. 139
 Error regexp RegexpSingleline Line has trailing spaces. 140
 Error misc FinalParameters Parameter response should be final. 140
 Error javadoc JavadocMethod Expected @param tag for 'response'. 140
 Error javadoc JavadocMethod Expected @throws tag for 'ServletException'. 141
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 141
 Error blocks RightCurly '}' at column 17 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 152
 Error regexp RegexpSingleline Line has trailing spaces. 154
 Error blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 159
 Error regexp RegexpSingleline Line has trailing spaces. 161
 Error regexp RegexpSingleline Line has trailing spaces. 179
 Error design DesignForExtension Method 'doPost' is not designed for extension - needs to be abstract, final or empty. 179
 Error misc FinalParameters Parameter request should be final. 179
 Error javadoc JavadocMethod Expected @param tag for 'request'. 179
 Error regexp RegexpSingleline Line has trailing spaces. 180
 Error misc FinalParameters Parameter response should be final. 180
 Error javadoc JavadocMethod Expected @param tag for 'response'. 180
 Error javadoc JavadocMethod Expected @throws tag for 'ServletException'. 181
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 181
 Error design DesignForExtension Method 'destroy' is not designed for extension - needs to be abstract, final or empty. 186
 Error javadoc JavadocMethod Missing a Javadoc comment. 186
 Error regexp RegexpSingleline Line has trailing spaces. 189
 Error javadoc JavadocType Missing a Javadoc comment. 190
 Error regexp RegexpSingleline Line has trailing spaces. 191
 Error javadoc JavadocVariable Missing a Javadoc comment. 191
 Error regexp RegexpSingleline Line has trailing spaces. 193
 Error javadoc JavadocVariable Missing a Javadoc comment. 193
 Error javadoc JavadocVariable Missing a Javadoc comment. 195
 Error javadoc JavadocVariable Missing a Javadoc comment. 196
 Error javadoc JavadocVariable Missing a Javadoc comment. 197
 Error javadoc JavadocVariable Missing a Javadoc comment. 198
 Error javadoc JavadocVariable Missing a Javadoc comment. 199
 Error javadoc JavadocVariable Missing a Javadoc comment. 200
 Error javadoc JavadocVariable Missing a Javadoc comment. 201
 Error javadoc JavadocVariable Missing a Javadoc comment. 202
 Error regexp RegexpSingleline Line has trailing spaces. 203
 Error javadoc JavadocVariable Missing a Javadoc comment. 203
 Error regexp RegexpSingleline Line has trailing spaces. 205
 Error javadoc JavadocVariable Missing a Javadoc comment. 205
 Error regexp RegexpSingleline Line has trailing spaces. 207
 Error javadoc JavadocVariable Missing a Javadoc comment. 207
 Error regexp RegexpSingleline Line has trailing spaces. 209
 Error javadoc JavadocMethod Missing a Javadoc comment. 209
 Error regexp RegexpSingleline Line has trailing spaces. 210
 Error regexp RegexpSingleline Line has trailing spaces. 213
 Error javadoc JavadocType Missing a Javadoc comment. 214
 Error regexp RegexpSingleline Line has trailing spaces. 215
 Error javadoc JavadocMethod Missing a Javadoc comment. 215
 Error misc FinalParameters Parameter request should be final. 215
 Error regexp RegexpSingleline Line has trailing spaces. 216
 Error misc FinalParameters Parameter response should be final. 216
 Error misc FinalParameters Parameter t should be final. 216
 Error regexp RegexpSingleline Line has trailing spaces. 219
 Error sizes LineLength Line is longer than 80 characters (found 94). 219
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 219
 Error regexp RegexpSingleline Line has trailing spaces. 221
 Error regexp RegexpSingleline Line has trailing spaces. 222
 Error regexp RegexpSingleline Line has trailing spaces. 223
 Error regexp RegexpSingleline Line has trailing spaces. 225
 Error blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 226
 Error regexp RegexpSingleline Line has trailing spaces. 230
 Error regexp RegexpSingleline Line has trailing spaces. 232
 Error javadoc JavadocType Missing a Javadoc comment. 237
 Error regexp RegexpSingleline Line has trailing spaces. 238
 Error javadoc JavadocMethod Missing a Javadoc comment. 238
 Error misc FinalParameters Parameter request should be final. 238
 Error regexp RegexpSingleline Line has trailing spaces. 239
 Error misc FinalParameters Parameter response should be final. 239
 Error misc FinalParameters Parameter t should be final. 239
 Error regexp RegexpSingleline Line has trailing spaces. 242
 Error sizes LineLength Line is longer than 80 characters (found 94). 242
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 242
 Error regexp RegexpSingleline Line has trailing spaces. 244
 Error regexp RegexpSingleline Line has trailing spaces. 245
 Error regexp RegexpSingleline Line has trailing spaces. 246
 Error regexp RegexpSingleline Line has trailing spaces. 248
 Error blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 249
 Error regexp RegexpSingleline Line has trailing spaces. 253
 Error regexp RegexpSingleline Line has trailing spaces. 255
 Error javadoc JavadocType Missing a Javadoc comment. 260
 Error regexp RegexpSingleline Line has trailing spaces. 261
 Error javadoc JavadocMethod Missing a Javadoc comment. 261
 Error misc FinalParameters Parameter request should be final. 261
 Error regexp RegexpSingleline Line has trailing spaces. 262
 Error misc FinalParameters Parameter response should be final. 262
 Error misc FinalParameters Parameter t should be final. 262
 Error regexp RegexpSingleline Line has trailing spaces. 265
 Error sizes LineLength Line is longer than 80 characters (found 94). 265
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 265
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 266
 Error regexp RegexpSingleline Line has trailing spaces. 268
 Error regexp RegexpSingleline Line has trailing spaces. 272
 Error regexp RegexpSingleline Line has trailing spaces. 273
 Error regexp RegexpSingleline Line has trailing spaces. 274
 Error regexp RegexpSingleline Line has trailing spaces. 276
 Error blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 277
 Error regexp RegexpSingleline Line has trailing spaces. 281
 Error regexp RegexpSingleline Line has trailing spaces. 283
 Error javadoc JavadocType Missing a Javadoc comment. 288
 Error regexp RegexpSingleline Line has trailing spaces. 289
 Error javadoc JavadocMethod Missing a Javadoc comment. 289
 Error misc FinalParameters Parameter request should be final. 289
 Error regexp RegexpSingleline Line has trailing spaces. 290
 Error misc FinalParameters Parameter response should be final. 290
 Error misc FinalParameters Parameter t should be final. 290
 Error regexp RegexpSingleline Line has trailing spaces. 293
 Error sizes LineLength Line is longer than 80 characters (found 94). 293
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 293
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 294
 Error regexp RegexpSingleline Line has trailing spaces. 296
 Error regexp RegexpSingleline Line has trailing spaces. 300
 Error regexp RegexpSingleline Line has trailing spaces. 301
 Error regexp RegexpSingleline Line has trailing spaces. 302
 Error regexp RegexpSingleline Line has trailing spaces. 304
 Error blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 305
 Error regexp RegexpSingleline Line has trailing spaces. 309
 Error regexp RegexpSingleline Line has trailing spaces. 311
 Error javadoc JavadocType Missing a Javadoc comment. 316
 Error regexp RegexpSingleline Line has trailing spaces. 317
 Error javadoc JavadocMethod Missing a Javadoc comment. 317
 Error misc FinalParameters Parameter request should be final. 317
 Error regexp RegexpSingleline Line has trailing spaces. 318
 Error misc FinalParameters Parameter response should be final. 318
 Error misc FinalParameters Parameter t should be final. 318
 Error regexp RegexpSingleline Line has trailing spaces. 321
 Error sizes LineLength Line is longer than 80 characters (found 94). 321
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 321
 Error regexp RegexpSingleline Line has trailing spaces. 322
 Error regexp RegexpSingleline Line has trailing spaces. 324
 Error blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 326
 Error regexp RegexpSingleline Line has trailing spaces. 330
 Error regexp RegexpSingleline Line has trailing spaces. 332
 Error javadoc JavadocType Missing a Javadoc comment. 337
 Error regexp RegexpSingleline Line has trailing spaces. 338
 Error javadoc JavadocMethod Missing a Javadoc comment. 338
 Error misc FinalParameters Parameter request should be final. 338
 Error regexp RegexpSingleline Line has trailing spaces. 339
 Error misc FinalParameters Parameter response should be final. 339
 Error misc FinalParameters Parameter t should be final. 339
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 342
 Error regexp RegexpSingleline Line has trailing spaces. 344
 Error whitespace WhitespaceAround 'for' is not followed by whitespace. 346
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 346
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 346
 Error whitespace WhitespaceAround '<' is not preceded with whitespace. 346
 Error whitespace WhitespaceAround '<' is not followed by whitespace. 346
 Error regexp RegexpSingleline Line has trailing spaces. 349
 Error regexp RegexpSingleline Line has trailing spaces. 351
 Error blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 353
 Error regexp RegexpSingleline Line has trailing spaces. 357
 Error regexp RegexpSingleline Line has trailing spaces. 359
 Error javadoc JavadocType Missing a Javadoc comment. 364
 Error regexp RegexpSingleline Line has trailing spaces. 365
 Error javadoc JavadocMethod Missing a Javadoc comment. 365
 Error misc FinalParameters Parameter request should be final. 365
 Error regexp RegexpSingleline Line has trailing spaces. 366
 Error misc FinalParameters Parameter response should be final. 366
 Error misc FinalParameters Parameter t should be final. 366
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 369
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 370
 Error regexp RegexpSingleline Line has trailing spaces. 373
 Error regexp RegexpSingleline Line has trailing spaces. 375
 Error regexp RegexpSingleline Line has trailing spaces. 376
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 376
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 376
 Error whitespace OperatorWrap '?' should be on a new line. 376
 Error coding AvoidInlineConditionals Avoid inline conditionals. 376
 Error regexp RegexpSingleline Line has trailing spaces. 378
 Error regexp RegexpSingleline Line has trailing spaces. 383
 Error regexp RegexpSingleline Line has trailing spaces. 384
 Error regexp RegexpSingleline Line has trailing spaces. 386
 Error blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 387
 Error regexp RegexpSingleline Line has trailing spaces. 391
 Error regexp RegexpSingleline Line has trailing spaces. 393
 Error javadoc JavadocType Missing a Javadoc comment. 398
 Error regexp RegexpSingleline Line has trailing spaces. 399
 Error javadoc JavadocMethod Missing a Javadoc comment. 399
 Error misc FinalParameters Parameter request should be final. 399
 Error regexp RegexpSingleline Line has trailing spaces. 400
 Error misc FinalParameters Parameter response should be final. 400
 Error misc FinalParameters Parameter t should be final. 400
 Error regexp RegexpSingleline Line has trailing spaces. 404
 Error regexp RegexpSingleline Line has trailing spaces. 406
 Error regexp RegexpSingleline Line has trailing spaces. 407
 Error regexp RegexpSingleline Line has trailing spaces. 409
 Error blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 410
 Error regexp RegexpSingleline Line has trailing spaces. 414
 Error regexp RegexpSingleline Line has trailing spaces. 416
 Error javadoc JavadocType Missing a Javadoc comment. 421
 Error regexp RegexpSingleline Line has trailing spaces. 422
 Error javadoc JavadocMethod Missing a Javadoc comment. 422
 Error misc FinalParameters Parameter request should be final. 422
 Error regexp RegexpSingleline Line has trailing spaces. 423
 Error misc FinalParameters Parameter response should be final. 423
 Error misc FinalParameters Parameter t should be final. 423
 Error coding MagicNumber '100' is a magic number. 426
 Error blocks RightCurly '}' at column 25 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 433
 Error coding MagicNumber '100' is a magic number. 440
 Error regexp RegexpSingleline Line has trailing spaces. 442
 Error blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 444
 Error regexp RegexpSingleline Line has trailing spaces. 448
 Error regexp RegexpSingleline Line has trailing spaces. 450