PMD Results

The following document contains the results of PMD 4.1.

Files

Apache JAMES IMAP Api - org/apache/james/api/imap/message/request/SearchKey.java

ViolationLine
Unnecessary final modifier in final class360 - 362
Unnecessary final modifier in final class370 - 372
Unnecessary final modifier in final class379 - 381
Unnecessary final modifier in final class389 - 391
Unnecessary final modifier in final class400 - 402
Unnecessary final modifier in final class409 - 411
Unnecessary final modifier in final class418 - 420

Apache JAMES IMAP Api - org/apache/james/api/imap/message/response/imap4rev1/StatusResponse.java

ViolationLine
Unnecessary final modifier in final class113 - 115
Unnecessary final modifier in final class166 - 168
Unnecessary final modifier in final class178 - 180
Unnecessary final modifier in final class187 - 189
Unnecessary final modifier in final class198 - 200
Unnecessary final modifier in final class207 - 209
Unnecessary final modifier in final class216 - 218
Unnecessary final modifier in final class225 - 227
Unnecessary final modifier in final class236 - 238
Unnecessary final modifier in final class247 - 249
Unnecessary final modifier in final class258 - 260
Unnecessary final modifier in final class306 - 308
Unnecessary final modifier in final class315 - 317
Unnecessary final modifier in final class325 - 327

Apache JAMES IMAP Decode Library - org/apache/james/imap/decode/DecoderUtils.java

ViolationLine
Avoid empty if statements79 - 82
Unnecessary final modifier in final class98 - 158
Unnecessary final modifier in final class470 - 478

Apache JAMES IMAP Decode Library - org/apache/james/imap/decode/base/AbstractImapCommandParser.java

ViolationLine
Avoid unused private methods such as 'isCHAR8(char)'.545

Apache JAMES IMAP Decode Library - org/apache/james/imap/decode/base/FixedLengthInputStream.java

ViolationLine
Overriding method merely calls super76 - 78

Apache JAMES Mailbox Manager Library - org/apache/james/mailboxmanager/Headers.java

ViolationLine
Avoid unused imports such as 'org.apache.james.mailboxmanager.MessageResult.FetchGroup'24

Apache JAMES Mailbox Manager Library - org/apache/james/mailboxmanager/MessageResult.java

ViolationLine
Avoid unused imports such as 'javax.mail.MessagingException'31
Avoid unused imports such as 'org.apache.james.mailboxmanager.util.MessageResultUtils'33

Apache JAMES Mailbox Manager Library - org/apache/james/mailboxmanager/SearchQuery.java

ViolationLine
Unnecessary final modifier in final class499 - 501
Unnecessary final modifier in final class503 - 505
Unnecessary final modifier in final class600 - 602
Unnecessary final modifier in final class609 - 611
Unnecessary final modifier in final class674 - 676
Unnecessary final modifier in final class728 - 730
Unnecessary final modifier in final class737 - 739
Unnecessary final modifier in final class815 - 817
Unnecessary final modifier in final class824 - 826
Unnecessary final modifier in final class903 - 905
Unnecessary final modifier in final class973 - 975
Unnecessary final modifier in final class1047 - 1049
Unnecessary final modifier in final class1056 - 1058
Unnecessary final modifier in final class1136 - 1138
Unnecessary final modifier in final class1145 - 1147
Unnecessary final modifier in final class1223 - 1225
Unnecessary final modifier in final class1306 - 1308
Unnecessary final modifier in final class1365 - 1367
Unnecessary final modifier in final class1404 - 1406
Unnecessary final modifier in final class1408 - 1410
Unnecessary final modifier in final class1425 - 1427
Unnecessary final modifier in final class1502 - 1504
Unnecessary final modifier in final class1511 - 1513
Unnecessary final modifier in final class1597 - 1599
Unnecessary final modifier in final class1606 - 1608
Unnecessary final modifier in final class1616 - 1618
Unnecessary final modifier in final class1625 - 1627
Unnecessary final modifier in final class1705 - 1707

Apache JAMES Mailbox Manager Library - org/apache/james/mailboxmanager/impl/FetchGroupImpl.java

ViolationLine
Avoid unused imports such as 'org.apache.james.mailboxmanager.MessageResult.FetchGroup'27

Apache JAMES Mailbox Manager Library - org/apache/james/mailboxmanager/impl/MailboxEventDispatcher.java

ViolationLine
Unnecessary final modifier in final class127 - 131
These nested if statements could be combined202 - 205

Apache JAMES Mailbox Manager Library - org/apache/james/mailboxmanager/impl/MessageResultImpl.java

ViolationLine
Unnecessary final modifier in final class335 - 337
Unnecessary final modifier in final class339 - 341
Unnecessary final modifier in final class343 - 346
Unnecessary final modifier in final class348 - 350
Unnecessary final modifier in final class352 - 355
Unnecessary final modifier in final class357 - 359
Unnecessary final modifier in final class361 - 364
Unnecessary final modifier in final class366 - 368
Unnecessary final modifier in final class370 - 373
Unnecessary final modifier in final class375 - 377
Unnecessary final modifier in final class379 - 382

Apache JAMES Mailbox Manager Library - org/apache/james/mailboxmanager/mailbox/Mailbox.java

ViolationLine
Avoid unused imports such as 'org.apache.james.mailboxmanager.UnsupportedCriteriaException'34

Apache JAMES Mailbox Manager Library - org/apache/james/mailboxmanager/manager/MailboxExpression.java

ViolationLine
These nested if statements could be combined223 - 226

Apache JAMES Mailbox Manager Library - org/apache/james/mailboxmanager/manager/MailboxManager.java

ViolationLine
Avoid unused imports such as 'org.apache.james.mailboxmanager.MailboxExistsException'26
Avoid unused imports such as 'org.apache.james.mailboxmanager.MailboxNotFoundException'28

Apache JAMES Mailbox Manager Library - org/apache/james/mailboxmanager/util/MailboxEventAnalyser.java

ViolationLine
These nested if statements could be combined73 - 75

Apache JAMES IMAP Message Library - org/apache/james/imap/message/response/imap4rev1/ExistsResponse.java

ViolationLine
Unnecessary final modifier in final class32 - 34

Apache JAMES IMAP Message Library - org/apache/james/imap/message/response/imap4rev1/ExpungeResponse.java

ViolationLine
Unnecessary final modifier in final class33 - 35

Apache JAMES IMAP Message Library - org/apache/james/imap/message/response/imap4rev1/FetchResponse.java

ViolationLine
Unnecessary final modifier in final class93 - 95
Unnecessary final modifier in final class123 - 125
Unnecessary final modifier in final class133 - 135
Unnecessary final modifier in final class143 - 145
Unnecessary final modifier in final class153 - 155

Apache JAMES IMAP Message Library - org/apache/james/imap/message/response/imap4rev1/RecentResponse.java

ViolationLine
Unnecessary final modifier in final class33 - 35

Apache JAMES IMAP Mailbox Processor function - org/apache/james/imap/processor/base/SelectedMailboxSessionImpl.java

ViolationLine
Avoid unused method parameters such as 'mailbox'.136 - 151
Avoid unused method parameters such as 'mailbox'.195 - 200

Apache JAMES IMAP Mailbox Processor function - org/apache/james/imap/processor/imap4rev1/CapabilityProcessor.java

ViolationLine
Avoid unused method parameters such as 'request'.55 - 61

Apache JAMES IMAP Mailbox Processor function - org/apache/james/imap/processor/imap4rev1/DeleteProcessor.java

ViolationLine
These nested if statements could be combined54 - 57

Apache JAMES IMAP Mailbox Processor function - org/apache/james/imap/processor/imap4rev1/ExpungeProcessor.java

ViolationLine
Avoid unused constructor parameters such as 'mailboxManagerProvider'.44 - 48

Apache JAMES IMAP Mailbox Processor function - org/apache/james/imap/processor/imap4rev1/NoopProcessor.java

ViolationLine
Avoid unused local variables such as 'request'.44

Apache JAMES IMAP Mailbox Processor function - org/apache/james/imap/processor/imap4rev1/fetch/FetchResponseBuilder.java

ViolationLine
Avoid unused private fields such as 'logger'.52
Avoid unused method parameters such as 'isBase'.354 - 359

Apache JAMES IMAP Mailbox Processor function - org/apache/james/imap/processor/imap4rev1/fetch/HeaderBodyElement.java

ViolationLine
Avoid empty while statements78 - 79
Avoid empty while statements82 - 83

Apache JAMES Protocol Tester - org/apache/james/test/functional/FileProtocolSessionBuilder.java

ViolationLine
Avoid empty if statements139 - 141

Apache JAMES IMAP function - org/apache/james/imap/main/ChannelImapResponseWriter.java

ViolationLine
Avoid empty while statements82 - 84

Apache JAMES IMAP function - org/apache/james/imap/main/ImapRequestHandler.java

ViolationLine
Unnecessary final modifier in final class215 - 217

Apache JAMES Imap Torque Mailbox Manager - org/apache/james/mailboxmanager/torque/ByteContent.java

ViolationLine
Avoid empty while statements52 - 54

Apache JAMES Imap Torque Mailbox Manager - org/apache/james/mailboxmanager/torque/FullContent.java

ViolationLine
Avoid empty while statements99 - 101

Apache JAMES Imap Torque Mailbox Manager - org/apache/james/mailboxmanager/torque/Header.java

ViolationLine
Avoid empty while statements91 - 93

Apache JAMES Imap Torque Mailbox Manager - org/apache/james/mailboxmanager/torque/MessageSearches.java

ViolationLine
These nested if statements could be combined331 - 334

Apache JAMES Imap Torque Mailbox Manager - org/apache/james/mailboxmanager/torque/MimeDescriptorImpl.java

ViolationLine
Unnecessary final modifier in final class329 - 331
Unnecessary final modifier in final class333 - 335

Apache JAMES Imap Torque Mailbox Manager - org/apache/james/mailboxmanager/torque/PartContentBuilder.java

ViolationLine
Avoid empty catch blocks241 - 243
Unnecessary final modifier in final class281 - 283

Apache JAMES Imap Torque Mailbox Manager - org/apache/james/mailboxmanager/torque/TorqueMailbox.java

ViolationLine
Avoid unused private fields such as 'log'.73
Avoid empty if statements254 - 256
Avoid unused method parameters such as 'session'.773 - 827

Apache JAMES Imap Torque Mailbox Manager - org/apache/james/mailboxmanager/torque/om/BaseMessageBody.java

ViolationLine
Avoid empty if statements534 - 535

Apache JAMES Imap Torque Mailbox Manager - org/apache/james/mailboxmanager/torque/om/BaseMessageFlags.java

ViolationLine
Avoid empty if statements793 - 794

Apache JAMES Imap Torque Mailbox Manager - org/apache/james/mailboxmanager/torque/om/BaseMessageHeader.java

ViolationLine
Avoid empty if statements647 - 648

Apache JAMES Imap Torque Mailbox Manager - org/apache/james/mailboxmanager/torque/om/MailboxRow.java

ViolationLine
Avoid empty catch blocks82 - 83