PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 3

org/apache/shiro/cache/Cache.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'get': the method is declared in an interface type 44
UnnecessaryModifier Unnecessary modifier 'public' on method 'put': the method is declared in an interface type 54
UnnecessaryModifier Unnecessary modifier 'public' on method 'remove': the method is declared in an interface type 63
UnnecessaryModifier Unnecessary modifier 'public' on method 'clear': the method is declared in an interface type 70
UnnecessaryModifier Unnecessary modifier 'public' on method 'size': the method is declared in an interface type 77
UnnecessaryModifier Unnecessary modifier 'public' on method 'keys': the method is declared in an interface type 84
UnnecessaryModifier Unnecessary modifier 'public' on method 'values': the method is declared in an interface type 91

org/apache/shiro/cache/CacheManager.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getCache': the method is declared in an interface type 41

Files

org/apache/shiro/cache/Cache.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'get': the method is declared in an interface type 3 44
UnnecessaryModifier Unnecessary modifier 'public' on method 'put': the method is declared in an interface type 3 54
UnnecessaryModifier Unnecessary modifier 'public' on method 'remove': the method is declared in an interface type 3 63
UnnecessaryModifier Unnecessary modifier 'public' on method 'clear': the method is declared in an interface type 3 70
UnnecessaryModifier Unnecessary modifier 'public' on method 'size': the method is declared in an interface type 3 77
UnnecessaryModifier Unnecessary modifier 'public' on method 'keys': the method is declared in an interface type 3 84
UnnecessaryModifier Unnecessary modifier 'public' on method 'values': the method is declared in an interface type 3 91

org/apache/shiro/cache/CacheManager.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getCache': the method is declared in an interface type 3 41