126 new problems found by Qodana Community for JVM
Qodana Community for JVM
126 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Field may be 'final' |
🔶 Warning | 50 |
Unchecked warning |
🔶 Warning | 13 |
Redundant type cast |
🔶 Warning | 6 |
Redundant call to 'String.format()' |
🔶 Warning | 6 |
Redundant local variable |
🔶 Warning | 6 |
Javadoc declaration problems |
🔶 Warning | 5 |
Declaration has problems in Javadoc references |
🔶 Warning | 5 |
String concatenation as argument to 'StringBuilder.append()' call |
🔶 Warning | 4 |
Nullability and data flow problems |
🔶 Warning | 3 |
Statement with empty body |
🔶 Warning | 3 |
Unnecessarily escaped character |
🔶 Warning | 3 |
Use of Optional.ofNullable with null or not-null argument |
🔶 Warning | 2 |
Stream API call chain can be simplified |
🔶 Warning | 2 |
Redundant 'Collection.addAll()' call |
🔶 Warning | 1 |
Constant values |
🔶 Warning | 1 |
Default annotation parameter value |
🔶 Warning | 1 |
Deprecated member is still used |
🔶 Warning | 1 |
Double negation |
🔶 Warning | 1 |
Field can be local |
🔶 Warning | 1 |
Result of method call ignored |
🔶 Warning | 1 |
Inner class may be 'static' |
🔶 Warning | 1 |
Optional.get() is called without isPresent() check |
🔶 Warning | 1 |
Redundant 'File' instance creation |
🔶 Warning | 1 |
Labeled switch rule has redundant code block |
🔶 Warning | 1 |
Minimum 'switch' branches |
🔶 Warning | 1 |
Call to 'printStackTrace()' |
🔶 Warning | 1 |
Redundant 'if' statement |
🔶 Warning | 1 |
Unnecessary semicolon |
🔶 Warning | 1 |
Method can be extracted |
◽️ Notice | 2 |
Commented out code |
◽️ Notice | 1 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
github-actions / Qodana Community for JVM
Redundant 'Collection.addAll()' call
'addAll()' call can be replaced with parametrized constructor call
github-actions / Qodana Community for JVM
Commented out code
Commented out code (2 lines)
github-actions / Qodana Community for JVM
Constant values
Condition `result == null` is always `false`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Argument `url` might be null
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getPath` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `equals` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Default annotation parameter value
Redundant default parameter value assignment
github-actions / Qodana Community for JVM
Deprecated member is still used
Deprecated member 'withRemoveResultDir' is still used
github-actions / Qodana Community for JVM
Double negation
Double negation in `!(declaration.getEnumValues().size() != count)`
github-actions / Qodana Community for JVM
Statement with empty body
`if` statement has empty body
github-actions / Qodana Community for JVM
Statement with empty body
`if` statement has empty body
github-actions / Qodana Community for JVM
Statement with empty body
`if` statement has empty body
github-actions / Qodana Community for JVM
Method can be extracted
It's possible to extract method returning 'typeRef' from a long surrounding method
github-actions / Qodana Community for JVM
Method can be extracted
It's possible to extract method returning 'change' from a long surrounding method
github-actions / Qodana Community for JVM
Field can be local
Field can be converted to a local variable
github-actions / Qodana Community for JVM
Field may be 'final'
Field `processors` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `property` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `resultFolder` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `filter` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `issue` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `commitHash` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `ruleParser` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `endLine` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `qodanaImageName` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `commits` may be 'final'