The following document contains the results of PMD 7.0.0.
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 157–159 |
EmptyCatchBlock | Avoid empty catch blocks | 168–170 |
EmptyCatchBlock | Avoid empty catch blocks | 179–181 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'name': the method is declared in an annotation type | 36 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'usage': the method is declared in an annotation type | 43 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'common': the method is declared in an annotation type | 50 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 119–121 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 206–208 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 175–177 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 10–77 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 177–179 |
CollapsibleIfStatements | This if statement could be combined with its parent | 411–413 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 147–149 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 12–481 |
EmptyCatchBlock | Avoid empty catch blocks | 225–227 |
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 74–76 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 11–369 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'br': resource specifications are implicitly final | 110–112 |
EmptyCatchBlock | Avoid empty catch blocks | 121–123 |
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 11–268 |
Rule | Violation | Line |
---|---|---|
SimplifiedTernary | This conditional expression can be simplified with || or && | 263 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Authenticator': 'setDefault' is already in scope | 36 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'CredentialsProvider': 'setDefault' is already in scope | 41 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Collections' is already in scope because it is imported in this file | 270 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Collections' is already in scope because it is imported in this file | 308 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 130 |
UselessParentheses | Useless parentheses. | 203 |
UselessParentheses | Useless parentheses. | 221 |
UselessParentheses | Useless parentheses. | 237 |
UselessParentheses | Useless parentheses. | 253 |
UselessParentheses | Useless parentheses. | 271 |
UselessParentheses | Useless parentheses. | 287 |
UselessParentheses | Useless parentheses. | 306 |
UselessParentheses | Useless parentheses. | 322 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 79 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RawTextComparator': 'DEFAULT' is already in scope because it is inherited by an enclosing type | 413 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Authenticator': 'setDefault' is already in scope | 4 | 36 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'CredentialsProvider': 'setDefault' is already in scope | 4 | 41 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 157–159 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 168–170 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 179–181 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'public' on method 'name': the method is declared in an annotation type | 3 | 36 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'usage': the method is declared in an annotation type | 3 | 43 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'common': the method is declared in an annotation type | 3 | 50 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 119–121 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 206–208 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 175–177 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 10–77 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 177–179 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 411–413 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 147–149 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Collections' is already in scope because it is imported in this file | 4 | 270 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Collections' is already in scope because it is imported in this file | 4 | 308 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 12–481 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 225–227 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 74–76 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 11–369 |
UselessParentheses | Useless parentheses. | 4 | 130 |
UselessParentheses | Useless parentheses. | 4 | 203 |
UselessParentheses | Useless parentheses. | 4 | 221 |
UselessParentheses | Useless parentheses. | 4 | 237 |
UselessParentheses | Useless parentheses. | 4 | 253 |
UselessParentheses | Useless parentheses. | 4 | 271 |
UselessParentheses | Useless parentheses. | 4 | 287 |
UselessParentheses | Useless parentheses. | 4 | 306 |
UselessParentheses | Useless parentheses. | 4 | 322 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'br': resource specifications are implicitly final | 3 | 110–112 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 121–123 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 79 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RawTextComparator': 'DEFAULT' is already in scope because it is inherited by an enclosing type | 4 | 413 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 11–268 |
Rule | Violation | Priority | Line |
---|---|---|---|
SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 263 |