PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/apache/struts/apps/mailreader/dao/Subscription.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getAutoConnect': the method is declared in an interface type 43
UnnecessaryModifier Unnecessary modifier 'public' on method 'setAutoConnect': the method is declared in an interface type 51
UnnecessaryModifier Unnecessary modifier 'public' on method 'getHost': the method is declared in an interface type 57
UnnecessaryModifier Unnecessary modifier 'public' on method 'getPassword': the method is declared in an interface type 63
UnnecessaryModifier Unnecessary modifier 'public' on method 'setPassword': the method is declared in an interface type 71
UnnecessaryModifier Unnecessary modifier 'public' on method 'getType': the method is declared in an interface type 77
UnnecessaryModifier Unnecessary modifier 'public' on method 'setType': the method is declared in an interface type 85
UnnecessaryModifier Unnecessary modifier 'public' on method 'getUser': the method is declared in an interface type 91
UnnecessaryModifier Unnecessary modifier 'public' on method 'getUsername': the method is declared in an interface type 97
UnnecessaryModifier Unnecessary modifier 'public' on method 'setUsername': the method is declared in an interface type 105
org/apache/struts/apps/mailreader/dao/User.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getDatabase': the method is declared in an interface type 44
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFromAddress': the method is declared in an interface type 50
UnnecessaryModifier Unnecessary modifier 'public' on method 'setFromAddress': the method is declared in an interface type 58
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFullName': the method is declared in an interface type 64
UnnecessaryModifier Unnecessary modifier 'public' on method 'setFullName': the method is declared in an interface type 72
UnnecessaryModifier Unnecessary modifier 'public' on method 'getPassword': the method is declared in an interface type 78
UnnecessaryModifier Unnecessary modifier 'public' on method 'setPassword': the method is declared in an interface type 86
UnnecessaryModifier Unnecessary modifier 'public' on method 'getReplyToAddress': the method is declared in an interface type 92
UnnecessaryModifier Unnecessary modifier 'public' on method 'setReplyToAddress': the method is declared in an interface type 100
UnnecessaryModifier Unnecessary modifier 'public' on method 'getSubscriptions': the method is declared in an interface type 107
UnnecessaryModifier Unnecessary modifier 'public' on method 'getUsername': the method is declared in an interface type 113
UnnecessaryModifier Unnecessary modifier 'public' on method 'createSubscription': the method is declared in an interface type 128
UnnecessaryModifier Unnecessary modifier 'public' on method 'findSubscription': the method is declared in an interface type 137
UnnecessaryModifier Unnecessary modifier 'public' on method 'removeSubscription': the method is declared in an interface type 149
org/apache/struts/apps/mailreader/dao/UserDatabase.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'createUser': the method is declared in an interface type 53
UnnecessaryModifier Unnecessary modifier 'public' on method 'close': the method is declared in an interface type 61
UnnecessaryModifier Unnecessary modifier 'public' on method 'findUser': the method is declared in an interface type 72
UnnecessaryModifier Unnecessary modifier 'public' on method 'findUsers': the method is declared in an interface type 78
UnnecessaryModifier Unnecessary modifier 'public' on method 'isOpen': the method is declared in an interface type 86
UnnecessaryModifier Unnecessary modifier 'public' on method 'open': the method is declared in an interface type 94
UnnecessaryModifier Unnecessary modifier 'public' on method 'removeUser': the method is declared in an interface type 105
UnnecessaryModifier Unnecessary modifier 'public' on method 'save': the method is declared in an interface type 113

Priority 4

org/apache/struts/apps/mailreader/dao/impl/AbstractSubscription.java
Rule Violation Line
UselessParentheses Useless parentheses. 82
UselessParentheses Useless parentheses. 94
UselessParentheses Useless parentheses. 104
UselessParentheses Useless parentheses. 118
UselessParentheses Useless parentheses. 130
UselessParentheses Useless parentheses. 140
UselessParentheses Useless parentheses. 177
org/apache/struts/apps/mailreader/dao/impl/AbstractUser.java
Rule Violation Line
UselessParentheses Useless parentheses. 91
UselessParentheses Useless parentheses. 101
UselessParentheses Useless parentheses. 115
UselessParentheses Useless parentheses. 129
UselessParentheses Useless parentheses. 143
UselessParentheses Useless parentheses. 168
UselessParentheses Useless parentheses. 197
UselessParentheses Useless parentheses. 212
org/apache/struts/apps/mailreader/dao/impl/memory/MemoryUser.java
Rule Violation Line
UselessParentheses Useless parentheses. 88
org/apache/struts/apps/mailreader/dao/impl/memory/MemoryUserDatabase.java
Rule Violation Line
UselessParentheses Useless parentheses. 90
UselessParentheses Useless parentheses. 125
UselessParentheses Useless parentheses. 135
UselessParentheses Useless parentheses. 145
UselessParentheses Useless parentheses. 290
UselessParentheses Useless parentheses. 314
UselessParentheses Useless parentheses. 335
UselessParentheses Useless parentheses. 349

Files

org/apache/struts/apps/mailreader/dao/Subscription.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getAutoConnect': the method is declared in an interface type 3 43
UnnecessaryModifier Unnecessary modifier 'public' on method 'setAutoConnect': the method is declared in an interface type 3 51
UnnecessaryModifier Unnecessary modifier 'public' on method 'getHost': the method is declared in an interface type 3 57
UnnecessaryModifier Unnecessary modifier 'public' on method 'getPassword': the method is declared in an interface type 3 63
UnnecessaryModifier Unnecessary modifier 'public' on method 'setPassword': the method is declared in an interface type 3 71
UnnecessaryModifier Unnecessary modifier 'public' on method 'getType': the method is declared in an interface type 3 77
UnnecessaryModifier Unnecessary modifier 'public' on method 'setType': the method is declared in an interface type 3 85
UnnecessaryModifier Unnecessary modifier 'public' on method 'getUser': the method is declared in an interface type 3 91
UnnecessaryModifier Unnecessary modifier 'public' on method 'getUsername': the method is declared in an interface type 3 97
UnnecessaryModifier Unnecessary modifier 'public' on method 'setUsername': the method is declared in an interface type 3 105

org/apache/struts/apps/mailreader/dao/User.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getDatabase': the method is declared in an interface type 3 44
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFromAddress': the method is declared in an interface type 3 50
UnnecessaryModifier Unnecessary modifier 'public' on method 'setFromAddress': the method is declared in an interface type 3 58
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFullName': the method is declared in an interface type 3 64
UnnecessaryModifier Unnecessary modifier 'public' on method 'setFullName': the method is declared in an interface type 3 72
UnnecessaryModifier Unnecessary modifier 'public' on method 'getPassword': the method is declared in an interface type 3 78
UnnecessaryModifier Unnecessary modifier 'public' on method 'setPassword': the method is declared in an interface type 3 86
UnnecessaryModifier Unnecessary modifier 'public' on method 'getReplyToAddress': the method is declared in an interface type 3 92
UnnecessaryModifier Unnecessary modifier 'public' on method 'setReplyToAddress': the method is declared in an interface type 3 100
UnnecessaryModifier Unnecessary modifier 'public' on method 'getSubscriptions': the method is declared in an interface type 3 107
UnnecessaryModifier Unnecessary modifier 'public' on method 'getUsername': the method is declared in an interface type 3 113
UnnecessaryModifier Unnecessary modifier 'public' on method 'createSubscription': the method is declared in an interface type 3 128
UnnecessaryModifier Unnecessary modifier 'public' on method 'findSubscription': the method is declared in an interface type 3 137
UnnecessaryModifier Unnecessary modifier 'public' on method 'removeSubscription': the method is declared in an interface type 3 149

org/apache/struts/apps/mailreader/dao/UserDatabase.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'createUser': the method is declared in an interface type 3 53
UnnecessaryModifier Unnecessary modifier 'public' on method 'close': the method is declared in an interface type 3 61
UnnecessaryModifier Unnecessary modifier 'public' on method 'findUser': the method is declared in an interface type 3 72
UnnecessaryModifier Unnecessary modifier 'public' on method 'findUsers': the method is declared in an interface type 3 78
UnnecessaryModifier Unnecessary modifier 'public' on method 'isOpen': the method is declared in an interface type 3 86
UnnecessaryModifier Unnecessary modifier 'public' on method 'open': the method is declared in an interface type 3 94
UnnecessaryModifier Unnecessary modifier 'public' on method 'removeUser': the method is declared in an interface type 3 105
UnnecessaryModifier Unnecessary modifier 'public' on method 'save': the method is declared in an interface type 3 113

org/apache/struts/apps/mailreader/dao/impl/AbstractSubscription.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 82
UselessParentheses Useless parentheses. 4 94
UselessParentheses Useless parentheses. 4 104
UselessParentheses Useless parentheses. 4 118
UselessParentheses Useless parentheses. 4 130
UselessParentheses Useless parentheses. 4 140
UselessParentheses Useless parentheses. 4 177

org/apache/struts/apps/mailreader/dao/impl/AbstractUser.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 91
UselessParentheses Useless parentheses. 4 101
UselessParentheses Useless parentheses. 4 115
UselessParentheses Useless parentheses. 4 129
UselessParentheses Useless parentheses. 4 143
UselessParentheses Useless parentheses. 4 168
UselessParentheses Useless parentheses. 4 197
UselessParentheses Useless parentheses. 4 212

org/apache/struts/apps/mailreader/dao/impl/memory/MemoryUser.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 88

org/apache/struts/apps/mailreader/dao/impl/memory/MemoryUserDatabase.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 90
UselessParentheses Useless parentheses. 4 125
UselessParentheses Useless parentheses. 4 135
UselessParentheses Useless parentheses. 4 145
UselessParentheses Useless parentheses. 4 290
UselessParentheses Useless parentheses. 4 314
UselessParentheses Useless parentheses. 4 335
UselessParentheses Useless parentheses. 4 349