Description
Several issues detected by PMD are trivial and don't cause behavior or interface changes when fixed. The approximate list is:
- Nested if statements could be combined
- Avoid duplicate imports
- Useless parentheses (duplicated by Checkstyle UnnecessaryParentheses, the most frequent cause in our code are assert statements)
- Avoid modifiers which are implied by the context
- Avoid unnecessary temporaries
- Unnecessary use of fully qualified name
- Avoid unused local variables
These seem not worth creating one JIRA per issue type, so I bundled them here.