The following document contains the results of PMD 6.13.0.
Rule | Violation | Line |
---|---|---|
AvoidReassigningParameters | Avoid reassigning parameters such as 'strBase64JWT' | 165 |
Rule | Violation | Line |
---|---|---|
UseUtilityClass | All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 58–329 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 127 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 176 |
UnnecessaryLocalBeforeReturn | Consider simply returning the value vs storing it in local variable 'key' | 265 |
EmptyCatchBlock | Avoid empty catch blocks | 267–269 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 289 |
UseIndexOfChar | String.indexOf(char) is faster than String.indexOf(String). | 326 |
ShortVariable | Avoid variables with short names like i | 326 |
Rule | Violation | Priority | Line |
---|---|---|---|
UseUtilityClass | All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 3 | 58–329 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 127 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'strBase64JWT' | 2 | 165 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 176 |
UnnecessaryLocalBeforeReturn | Consider simply returning the value vs storing it in local variable 'key' | 3 | 265 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 267–269 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 289 |
UseIndexOfChar | String.indexOf(char) is faster than String.indexOf(String). | 3 | 326 |
ShortVariable | Avoid variables with short names like i | 3 | 326 |