PMD Results
The following document contains the results of PMD 6.29.0.
Violations By Priority
Priority 3
com/foxinmy/weixin4j/dispatcher/WeixinMessageMatcher.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'match': the method is declared in an interface type |
22 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'regist': the method is declared in an interface type |
32–33 |
com/foxinmy/weixin4j/handler/WeixinMessageHandler.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'canHandle': the method is declared in an interface type |
32 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'doHandle': the method is declared in an interface type |
43 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'weight': the method is declared in an interface type |
50 |
com/foxinmy/weixin4j/response/WeixinResponse.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'getMsgType': the method is declared in an interface type |
31 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'toContent': the method is declared in an interface type |
38 |
com/foxinmy/weixin4j/util/ClassUtil.java
com/foxinmy/weixin4j/util/HttpUtil.java
Priority 4
com/foxinmy/weixin4j/base64/Base64.java
com/foxinmy/weixin4j/base64/BaseNCodec.java
com/foxinmy/weixin4j/dispatcher/WeixinMessageKey.java
com/foxinmy/weixin4j/socket/WeixinRequestHandler.java
com/foxinmy/weixin4j/util/ClassUtil.java
Files
com/foxinmy/weixin4j/base64/Base64.java
com/foxinmy/weixin4j/base64/BaseNCodec.java
com/foxinmy/weixin4j/dispatcher/WeixinMessageKey.java
com/foxinmy/weixin4j/dispatcher/WeixinMessageMatcher.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'match': the method is declared in an interface type |
3 |
22 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'regist': the method is declared in an interface type |
3 |
32–33 |
com/foxinmy/weixin4j/handler/WeixinMessageHandler.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'canHandle': the method is declared in an interface type |
3 |
32 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'doHandle': the method is declared in an interface type |
3 |
43 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'weight': the method is declared in an interface type |
3 |
50 |
com/foxinmy/weixin4j/response/WeixinResponse.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'getMsgType': the method is declared in an interface type |
3 |
31 |
UnnecessaryModifier |
Unnecessary modifier 'public' on method 'toContent': the method is declared in an interface type |
3 |
38 |
com/foxinmy/weixin4j/socket/WeixinRequestHandler.java
com/foxinmy/weixin4j/util/ClassUtil.java
com/foxinmy/weixin4j/util/HttpUtil.java