PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 3

org/apache/shiro/samples/aspectj/bank/BankService.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'searchAccountIdsByOwner': the method is declared in an interface type 25
UnnecessaryModifier Unnecessary modifier 'public' on method 'createNewAccount': the method is declared in an interface type 27
UnnecessaryModifier Unnecessary modifier 'public' on method 'getBalanceOf': the method is declared in an interface type 29
UnnecessaryModifier Unnecessary modifier 'public' on method 'getOwnerOf': the method is declared in an interface type 31
UnnecessaryModifier Unnecessary modifier 'public' on method 'depositInto': the method is declared in an interface type 33
UnnecessaryModifier Unnecessary modifier 'public' on method 'withdrawFrom': the method is declared in an interface type 35
UnnecessaryModifier Unnecessary modifier 'public' on method 'getTxHistoryFor': the method is declared in an interface type 37
UnnecessaryModifier Unnecessary modifier 'public' on method 'closeAccount': the method is declared in an interface type 39
UnnecessaryModifier Unnecessary modifier 'public' on method 'isAccountActive': the method is declared in an interface type 41
UnnecessaryModifier Unnecessary modifier 'static' on class 'TxLog': types nested within an interface type are implicitly static 4381
UnnecessaryModifier Unnecessary modifier 'public' on class 'TxLog': members of interface types are implicitly public 4381

Files

org/apache/shiro/samples/aspectj/bank/BankService.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'searchAccountIdsByOwner': the method is declared in an interface type 3 25
UnnecessaryModifier Unnecessary modifier 'public' on method 'createNewAccount': the method is declared in an interface type 3 27
UnnecessaryModifier Unnecessary modifier 'public' on method 'getBalanceOf': the method is declared in an interface type 3 29
UnnecessaryModifier Unnecessary modifier 'public' on method 'getOwnerOf': the method is declared in an interface type 3 31
UnnecessaryModifier Unnecessary modifier 'public' on method 'depositInto': the method is declared in an interface type 3 33
UnnecessaryModifier Unnecessary modifier 'public' on method 'withdrawFrom': the method is declared in an interface type 3 35
UnnecessaryModifier Unnecessary modifier 'public' on method 'getTxHistoryFor': the method is declared in an interface type 3 37
UnnecessaryModifier Unnecessary modifier 'public' on method 'closeAccount': the method is declared in an interface type 3 39
UnnecessaryModifier Unnecessary modifier 'public' on method 'isAccountActive': the method is declared in an interface type 3 41
UnnecessaryModifier Unnecessary modifier 'static' on class 'TxLog': types nested within an interface type are implicitly static 3 4381
UnnecessaryModifier Unnecessary modifier 'public' on class 'TxLog': members of interface types are implicitly public 3 4381