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
org/apache/struts/apps/mailreader/dao/impl/AbstractUser.java
org/apache/struts/apps/mailreader/dao/impl/memory/MemoryUser.java
org/apache/struts/apps/mailreader/dao/impl/memory/MemoryUserDatabase.java
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
org/apache/struts/apps/mailreader/dao/impl/AbstractUser.java
org/apache/struts/apps/mailreader/dao/impl/memory/MemoryUser.java
org/apache/struts/apps/mailreader/dao/impl/memory/MemoryUserDatabase.java