Checkstyle Results

The following document contains the results of Checkstyle .

Summary

Files Errors
32 569

Files

Files Errors
jegg/Dispatcher.java 42
jegg/Egg.java 213
jegg/Message.java 26
jegg/Port.java 36
jegg/Priority.java 15
jegg/queue/PriorityQueue.java 32
jegg/registry/DuplicateNameException.java 5
jegg/registry/LocatePortMessage.java 16
jegg/registry/LocatePortResponse.java 11
jegg/registry/PortRegistry.java 87
jegg/registry/PublishPortMessage.java 27
jegg/timer/Timeout.java 8
jegg/timer/TimeoutListener.java 1
jegg/timer/Timer.java 50

jegg/Dispatcher.java

Error Line
Line has trailing spaces. 40
Line has trailing spaces. 42
'{' should be on the previous line. 55
Line has trailing spaces. 60
Line has trailing spaces. 61
Name 'LOG' must match pattern '^[a-z][a-zA-Z0-9]*$'. 63
Name '_scheduled' must match pattern '^[a-z][a-zA-Z0-9]*$'. 70
'{' should be on the previous line. 76
'{' should be on the previous line. 85
'{' should be on the previous line. 97
'{' should be on the previous line. 109
'{' should be on the previous line. 118
'{' should be on the previous line. 121
'{' should be on the previous line. 132
'{' should be on the previous line. 135
Line has trailing spaces. 141
Line has trailing spaces. 142
'{' should be on the previous line. 147
'{' should be on the previous line. 151
'{' should be on the previous line. 155
'{' should be on the previous line. 157
'{' should be on the previous line. 159
'{' should be on the previous line. 161
'{' should be on the previous line. 170
'{' should be on the previous line. 172
'}' should be on the same line. 175
'{' should be on the previous line. 177
'{' should be on the previous line. 188
'{' should be on the previous line. 192
'{' should be on the previous line. 194
Line has trailing spaces. 196
'{' should be on the previous line. 196
Line is longer than 80 characters. 198
Line has trailing spaces. 203
'{' should be on the previous line. 205
'{' should be on the previous line. 207
'}' should be on the same line. 212
'{' should be on the previous line. 214
'{' should be on the previous line. 224
'{' should be on the previous line. 229
'{' should be on the previous line. 231
'{' should be on the previous line. 240

jegg/Egg.java

Error Line
Unused import - java.util.Set. 35
Using the '.*' form of import should be avoided - jegg.queue.*. 40
Using the '.*' form of import should be avoided - jegg.registry.*. 41
Line has trailing spaces. 49
Line is longer than 80 characters. 53
Line is longer than 80 characters. 54
Line is longer than 80 characters. 56
Line is longer than 80 characters. 57
Line is longer than 80 characters. 58
Line has trailing spaces. 62
Line is longer than 80 characters. 65
Line is longer than 80 characters. 66
Line is longer than 80 characters. 67
Line has trailing spaces. 69
Line has trailing spaces. 72
Line has trailing spaces. 78
'{' should be on the previous line. 82
Name '_mqueue' must match pattern '^[a-z][a-zA-Z0-9]*$'. 86
Name '_class' must match pattern '^[a-z][a-zA-Z0-9]*$'. 88
Name '_dispatcher' must match pattern '^[a-z][a-zA-Z0-9]*$'. 90
Name '_mtable' must match pattern '^[a-z][a-zA-Z0-9]*$'. 92
Name '_port' must match pattern '^[a-z][a-zA-Z0-9]*$'. 94
Name '_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 96
Name '_stopped' must match pattern '^[a-z][a-zA-Z0-9]*$'. 98
Name '_currentMessage' must match pattern '^[a-z][a-zA-Z0-9]*$'. 100
Unused @throws tag for 'IllegalStateException'. 106
'{' should be on the previous line. 110
'{' should be on the previous line. 113
'{' should be on the previous line. 127
'{' should be on the previous line. 133
'{' should be on the previous line. 145
Line has trailing spaces. 152
'{' should be on the previous line. 158
'{' should be on the previous line. 167
Line has trailing spaces. 170
'{' should be on the previous line. 176
Line has trailing spaces. 179
Unused @param tag for 'name'. 184
Parameter n should be final. 186
Expected @param tag for 'n'. 186
'{' should be on the previous line. 187
Line is longer than 80 characters. 188
Line has trailing spaces. 190
Line is longer than 80 characters. 193
Line is longer than 80 characters. 196
Line has trailing spaces. 197
Unused @param tag for 'name'. 198
Parameter n should be final. 200
Expected @param tag for 'n'. 200
'{' should be on the previous line. 201
Line is longer than 80 characters. 202
Line has trailing spaces. 204
Line has trailing spaces. 209
Parameter p should be final. 212
'{' should be on the previous line. 213
Line has trailing spaces. 216
Line has trailing spaces. 218
Line has trailing spaces. 223
Parameter message should be final. 226
'{' should be on the previous line. 227
',' is not followed by whitespace. 228
Line has trailing spaces. 230
Line has trailing spaces. 235
Parameter message should be final. 239
Parameter priority should be final. 239
'{' should be on the previous line. 240
',' is not followed by whitespace. 241
',' is not followed by whitespace. 241
Line has trailing spaces. 243
Line has trailing spaces. 250
Parameter port should be final. 255
Parameter message should be final. 255
'{' should be on the previous line. 256
',' is not followed by whitespace. 257
',' is not followed by whitespace. 257
Line has trailing spaces. 259
Line has trailing spaces. 266
Parameter port should be final. 272
Parameter message should be final. 272
Parameter priority should be final. 272
'{' should be on the previous line. 273
',' is not followed by whitespace. 274
Line has trailing spaces. 276
Line has trailing spaces. 280
'{' should be on the previous line. 284
Line has trailing spaces. 290
Line has trailing spaces. 293
Line has trailing spaces. 301
Unused @param tag for 'message'. 302
Parameter msg should be final. 304
Expected @param tag for 'msg'. 304
'{' should be on the previous line. 305
Line has trailing spaces. 308
Line has trailing spaces. 311
Line has trailing spaces. 312
Line has trailing spaces. 314
Line has trailing spaces. 315
Unused @param tag for 'message'. 316
Parameter m should be final. 319
Expected @param tag for 'm'. 319
'{' should be on the previous line. 320
',' is not followed by whitespace. 321
Line has trailing spaces. 326
Line has trailing spaces. 327
Line has trailing spaces. 329
Line has trailing spaces. 330
Unused @param tag for 'message'. 331
Parameter m should be final. 334
Expected @param tag for 'm'. 334
Parameter p should be final. 334
Expected @param tag for 'p'. 334
'{' should be on the previous line. 335
',' is not followed by whitespace. 336
',' is not followed by whitespace. 336
Line has trailing spaces. 338
Line is longer than 80 characters. 340
Line is longer than 80 characters. 341
Line has trailing spaces. 345
Line has trailing spaces. 347
Line is longer than 80 characters. 351
Parameter interval_msec should be final. 351
Name 'interval_msec' must match pattern '^[a-z][a-zA-Z0-9]*$'. 351
Parameter delay_msec should be final. 351
Name 'delay_msec' must match pattern '^[a-z][a-zA-Z0-9]*$'. 351
Method 'timeout' is not designed for extension - needs to be abstract, final or empty. 355
Parameter tt should be final. 355
'{' should be on the previous line. 356
Line has trailing spaces. 362
Line is longer than 80 characters. 364
Line has trailing spaces. 366
Parameter delay_msec should be final. 370
Name 'delay_msec' must match pattern '^[a-z][a-zA-Z0-9]*$'. 370
'{' should be on the previous line. 371
Method 'timeout' is not designed for extension - needs to be abstract, final or empty. 374
Parameter tt should be final. 374
'{' should be on the previous line. 375
Line has trailing spaces. 381
Method 'getDispatcher' is not designed for extension - needs to be abstract, final or empty. 386
'{' should be on the previous line. 387
Line has trailing spaces. 390
Line has trailing spaces. 395
Parameter t should be final. 398
'{' should be on the previous line. 399
Line has trailing spaces. 402
Line has trailing spaces. 406
'{' should be on the previous line. 410
'{' should be on the previous line. 412
'{' should be on the previous line. 417
'{' should be on the previous line. 419
',' is not followed by whitespace. 424
'{' should be on the previous line. 427
'{' should be on the previous line. 436
'{' should be on the previous line. 443
Expected an @return tag. 453
'{' should be on the previous line. 454
'{' should be on the previous line. 457
'}' should be on the same line. 459
'{' should be on the previous line. 461
Must have at least one statement. 461
Line has trailing spaces. 466
'{' should be on the previous line. 473
Line has trailing spaces. 476
'{' should be on the previous line. 476
Line is longer than 80 characters. 478
Unused @param tag for 'message'. 491
Expected @param tag for 'incoming'. 493
'{' should be on the previous line. 494
'{' should be on the previous line. 496
'{' should be on the previous line. 505
'{' should be on the previous line. 511
'{' should be on the previous line. 513
'}' should be on the same line. 521
'{' should be on the previous line. 523
'+' is not preceeded with whitespace. 524
'+' is not followed by whitespace. 524
'}' should be on the same line. 526
'{' should be on the previous line. 528
'+' is not preceeded with whitespace. 530
'+' is not followed by whitespace. 530
'+' should be on a new line. 530
'}' should be on the same line. 535
'{' should be on the previous line. 537
'{' should be on the previous line. 548
Line has trailing spaces. 550
'{' should be on the previous line. 556
'{' should be on the previous line. 561
Line is longer than 80 characters. 562
'{' should be on the previous line. 568
'{' should be on the previous line. 570
'{' should be on the previous line. 582
'{' should be on the previous line. 588
'{' should be on the previous line. 590
Line is longer than 80 characters. 596
'{' should be on the previous line. 601
'{' should be on the previous line. 606
'{' should be on the previous line. 609
'{' should be on the previous line. 612
'{' should be on the previous line. 616
'{' should be on the previous line. 618
Line is longer than 80 characters. 624
Line has trailing spaces. 631
'{' should be on the previous line. 633
Line has trailing spaces. 642
'{' should be on the previous line. 646
'{' should be on the previous line. 648
'{' should be on the previous line. 658
'{' should be on the previous line. 662
'{' should be on the previous line. 671
Line has trailing spaces. 680
Missing a Javadoc comment. 681
Line has trailing spaces. 685
'{' should be on the previous line. 691
'{' should be on the previous line. 694

jegg/Message.java

Error Line
Line is longer than 80 characters. 32
Line has trailing spaces. 36
Line is longer than 80 characters. 38
'{' should be on the previous line. 43
Name '_from' must match pattern '^[a-z][a-zA-Z0-9]*$'. 45
Name '_message' must match pattern '^[a-z][a-zA-Z0-9]*$'. 47
Name '_priority' must match pattern '^[a-z][a-zA-Z0-9]*$'. 49
Line has trailing spaces. 50
Line has trailing spaces. 51
Line has trailing spaces. 53
Parameter m should be final. 58
Parameter p should be final. 58
Parameter pr should be final. 58
'{' should be on the previous line. 59
Line has trailing spaces. 64
'{' should be on the previous line. 71
Line has trailing spaces. 77
'{' should be on the previous line. 81
Line has trailing spaces. 84
'{' should be on the previous line. 90
Line has trailing spaces. 93
'{' should be on the previous line. 99
'+' is not preceeded with whitespace. 100
'+' is not followed by whitespace. 100
'+' is not preceeded with whitespace. 100
'+' is not followed by whitespace. 100

jegg/Port.java

Error Line
Unused import - java.util.Set. 34
'{' should be on the previous line. 49
Line has trailing spaces. 52
Name '_owner' must match pattern '^[a-z][a-zA-Z0-9]*$'. 54
Line has trailing spaces. 55
Name '_otherPorts' must match pattern '^[a-z][a-zA-Z0-9]*$'. 57
Line has trailing spaces. 58
Line has trailing spaces. 61
'{' should be on the previous line. 64
Unused @param tag for 'o'. 71
Unused @param tag for 'p'. 72
Parameter m should be final. 74
Expected @param tag for 'm'. 74
'{' should be on the previous line. 75
Line has trailing spaces. 78
Method 'broadcast' is not designed for extension - needs to be abstract, final or empty. 85
Expected @param tag for 'msg'. 85
'{' should be on the previous line. 86
',' is not followed by whitespace. 87
Line has trailing spaces. 89
Method 'broadcast' is not designed for extension - needs to be abstract, final or empty. 96
Expected @param tag for 'msg'. 96
Expected @param tag for 'p'. 96
'{' should be on the previous line. 97
',' is not followed by whitespace. 98
',' is not followed by whitespace. 98
';' is followed by whitespace. 99
'{' should be on the previous line. 100
Line has trailing spaces. 105
Unused @param tag for 'port'. 109
Expected @param tag for 'client'. 111
'{' should be on the previous line. 112
Line has trailing spaces. 115
Expected an @return tag. 119
'{' should be on the previous line. 120
Line has trailing spaces. 123

jegg/Priority.java

Error Line
Line has trailing spaces. 33
'{' should be on the previous line. 37
'10' is a magic number. 39
'5' is a magic number. 41
Line has trailing spaces. 44
Line has trailing spaces. 47
Line is longer than 80 characters. 50
Parameter lvl should be final. 53
'{' should be on the previous line. 54
Line has trailing spaces. 57
Expected an @return tag. 62
Parameter o should be final. 62
Expected @param tag for 'o'. 62
'{' should be on the previous line. 63
'{' should be on the previous line. 65

jegg/queue/PriorityQueue.java

Error Line
'{' should be on the previous line. 46
Line has trailing spaces. 49
Method 'add' is not designed for extension - needs to be abstract, final or empty. 55
'{' should be on the previous line. 56
'{' should be on the previous line. 59
',' is not followed by whitespace. 61
Line has trailing spaces. 65
Method 'next' is not designed for extension - needs to be abstract, final or empty. 70
'{' should be on the previous line. 71
';' is followed by whitespace. 72
'{' should be on the previous line. 73
'{' should be on the previous line. 77
Line has trailing spaces. 83
Method 'next' is not designed for extension - needs to be abstract, final or empty. 89
Parameter p should be final. 89
Line has trailing spaces. 90
'{' should be on the previous line. 90
'!' is followed by whitespace. 92
'{' should be on the previous line. 93
Line has trailing spaces. 98
Method 'size' is not designed for extension - needs to be abstract, final or empty. 103
'{' should be on the previous line. 104
';' is followed by whitespace. 106
'{' should be on the previous line. 107
'{' should be on the previous line. 111
Line has trailing spaces. 117
Line has trailing spaces. 120
Method 'clear' is not designed for extension - needs to be abstract, final or empty. 124
'{' should be on the previous line. 125
Line has trailing spaces. 128
Method 'isEmpty' is not designed for extension - needs to be abstract, final or empty. 133
'{' should be on the previous line. 134

jegg/registry/DuplicateNameException.java

Error Line
'{' should be on the previous line. 36
'{' should be on the previous line. 41
'{' should be on the previous line. 50
'{' should be on the previous line. 59
'{' should be on the previous line. 71

jegg/registry/LocatePortMessage.java

Error Line
'{' should be on the previous line. 35
Parameter portName should be final. 43
'{' should be on the previous line. 44
Method 'getName' is not designed for extension - needs to be abstract, final or empty. 51
'{' is not preceeded with whitespace. 51
'return' is not preceeded with whitespace. 51
'{' is not followed by whitespace. 51
';' is not followed by whitespace. 51
'}' is not preceeded with whitespace. 51
Method 'toString' is not designed for extension - needs to be abstract, final or empty. 56
Missing a Javadoc comment. 56
'{' should be on the previous line. 57
'+' is not preceeded with whitespace. 58
'+' is not followed by whitespace. 58
'+' is not preceeded with whitespace. 58
'+' is not followed by whitespace. 58

jegg/registry/LocatePortResponse.java

Error Line
'{' should be on the previous line. 37
Line has trailing spaces. 44
Parameter n should be final. 47
Parameter p should be final. 47
'{' should be on the previous line. 48
Method 'getName' is not designed for extension - needs to be abstract, final or empty. 58
'{' should be on the previous line. 59
Line has trailing spaces. 62
Line has trailing spaces. 64
Method 'getPort' is not designed for extension - needs to be abstract, final or empty. 67
'{' should be on the previous line. 68

jegg/registry/PortRegistry.java

Error Line
'{' should be on the previous line. 56
Line has trailing spaces. 59
Missing a Javadoc comment. 60
'static' modifier out of order with the JLS suggestions. 60
Line has trailing spaces. 61
Name '_contexts_' must match pattern '^[A-Z](_?[A-Z0-9]+)*$'. 65
Name '_name' must match pattern '^[a-z][a-zA-Z0-9]*$'. 67
Name '_parent' must match pattern '^[a-z][a-zA-Z0-9]*$'. 69
Name '_ports' must match pattern '^[a-z][a-zA-Z0-9]*$'. 71
Name '_children' must match pattern '^[a-z][a-zA-Z0-9]*$'. 73
Name '_outstanding' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Name '_doneList' must match pattern '^[a-z][a-zA-Z0-9]*$'. 77
'{' should be on the previous line. 84
'{' should be on the previous line. 95
'{' should be on the previous line. 98
'{' should be on the previous line. 101
'{' should be on the previous line. 114
'{' should be on the previous line. 125
'{' should be on the previous line. 141
'{' should be on the previous line. 143
'{' should be on the previous line. 160
'{' should be on the previous line. 162
'{' should be on the previous line. 176
Line has trailing spaces. 186
'{' should be on the previous line. 189
'{' should be on the previous line. 191
'}' should be on the same line. 193
'{' should be on the previous line. 195
'}' should be on the same line. 197
'{' should be on the previous line. 199
'{' should be on the previous line. 209
'{' should be on the previous line. 218
'{' should be on the previous line. 232
'{' should be on the previous line. 234
'}' should be on the same line. 236
'{' should be on the previous line. 238
'{' should be on the previous line. 251
'{' should be on the previous line. 255
'{' should be on the previous line. 258
'{' should be on the previous line. 264
'{' should be on the previous line. 278
Missing a Javadoc comment. 286
Parameter message should be final. 286
'{' should be on the previous line. 287
Line has trailing spaces. 290
Parameter message should be final. 295
'{' should be on the previous line. 296
Line has trailing spaces. 298
'{' should be on the previous line. 302
',' is not followed by whitespace. 303
'}' should be on the same line. 304
'{' should be on the previous line. 306
',' is not followed by whitespace. 307
Line has trailing spaces. 310
Line has trailing spaces. 311
'{' should be on the previous line. 317
Missing a Javadoc comment. 318
Variable 'name' must be private and have accessor methods. 318
Missing a Javadoc comment. 319
Variable 'requestor' must be private and have accessor methods. 319
Missing a Javadoc comment. 320
Parameter n should be final. 320
',' is not followed by whitespace. 320
Parameter r should be final. 320
'{' should be on the previous line. 321
Line has trailing spaces. 326
Parameter message should be final. 331
'{' should be on the previous line. 332
Line has trailing spaces. 334
'{' should be on the previous line. 338
Line has trailing spaces. 342
'{' should be on the previous line. 342
Line is longer than 80 characters. 343
',' is not followed by whitespace. 343
',' is not followed by whitespace. 343
',' is not followed by whitespace. 343
'=' is not preceeded with whitespace. 344
'=' is not followed by whitespace. 344
';' is followed by whitespace. 344
'{' should be on the previous line. 345
'{' should be on the previous line. 348
'=' is not preceeded with whitespace. 353
'=' is not followed by whitespace. 353
';' is followed by whitespace. 353
'{' should be on the previous line. 354
'}' should be on the same line. 360
'{' should be on the previous line. 362

jegg/registry/PublishPortMessage.java

Error Line
'{' should be on the previous line. 37
Line has trailing spaces. 42
Parameter portName should be final. 48
Parameter myPort should be final. 48
'{' should be on the previous line. 49
Line has trailing spaces. 53
Method 'getName' is not designed for extension - needs to be abstract, final or empty. 57
'{' is not preceeded with whitespace. 57
'return' is not preceeded with whitespace. 57
'{' is not followed by whitespace. 57
';' is not followed by whitespace. 57
'}' is not preceeded with whitespace. 57
Line has trailing spaces. 58
Expected an @return tag. 62
Method 'getPort' is not designed for extension - needs to be abstract, final or empty. 62
'{' is not preceeded with whitespace. 62
'return' is not preceeded with whitespace. 62
'{' is not followed by whitespace. 62
';' is not followed by whitespace. 62
'}' is not preceeded with whitespace. 62
Method 'toString' is not designed for extension - needs to be abstract, final or empty. 67
Missing a Javadoc comment. 67
'{' should be on the previous line. 68
'+' is not preceeded with whitespace. 69
'+' is not followed by whitespace. 69
'+' is not preceeded with whitespace. 69
'+' is not followed by whitespace. 69

jegg/timer/Timeout.java

Error Line
Line has trailing spaces. 32
'{' should be on the previous line. 36
Name '_timer' must match pattern '^[a-z][a-zA-Z0-9]*$'. 38
Parameter t should be final. 43
'{' should be on the previous line. 44
Expected an @return tag. 53
Method 'getTimer' is not designed for extension - needs to be abstract, final or empty. 53
'{' should be on the previous line. 54

jegg/timer/TimeoutListener.java

Error Line
'{' should be on the previous line. 36

jegg/timer/Timer.java

Error Line
'{' should be on the previous line. 38
Name '_interval' must match pattern '^[a-z][a-zA-Z0-9]*$'. 40
Name '_delay' must match pattern '^[a-z][a-zA-Z0-9]*$'. 42
Name '_repeat' must match pattern '^[a-z][a-zA-Z0-9]*$'. 44
Line is longer than 80 characters. 45
Line is longer than 80 characters. 46
Name '_task' must match pattern '^[a-z][a-zA-Z0-9]*$'. 48
Line has trailing spaces. 49
Line is longer than 80 characters. 56
Parameter l should be final. 56
Parameter period should be final. 56
Line is longer than 80 characters. 66
Line is longer than 80 characters. 69
Parameter l should be final. 69
Parameter period should be final. 69
Parameter delay should be final. 69
Line is longer than 80 characters. 81
Parameter l should be final. 81
Parameter delay should be final. 81
Line is longer than 80 characters. 90
Parameter tl should be final. 93
Parameter msec should be final. 93
Parameter delay_msec should be final. 93
Name 'delay_msec' must match pattern '^[a-z][a-zA-Z0-9]*$'. 93
Parameter r should be final. 93
'{' should be on the previous line. 94
'(' is followed by whitespace. 99
Line has trailing spaces. 101
'{' should be on the previous line. 108
Line has trailing spaces. 111
'{' should be on the previous line. 117
Line has trailing spaces. 120
'{' should be on the previous line. 127
'{' should be on the previous line. 136
Line has trailing spaces. 139
'{' should be on the previous line. 145
Missing a Javadoc comment. 146
Name '_tl' must match pattern '^[a-z][a-zA-Z0-9]*$'. 146
Missing a Javadoc comment. 147
Name '_t' must match pattern '^[a-z][a-zA-Z0-9]*$'. 147
Missing a Javadoc comment. 148
Name '_r' must match pattern '^[a-z][a-zA-Z0-9]*$'. 148
Missing a Javadoc comment. 149
Parameter tl should be final. 149
Parameter t should be final. 149
Parameter isRepeating should be final. 149
'{' should be on the previous line. 150
Missing a Javadoc comment. 155
'{' should be on the previous line. 156
'{' should be on the previous line. 159