Chore(deps): Bump org.checkerframework:checker from 3.49.0 to 3.49.1 #9
304 new problems found by Qodana Community for JVM
Qodana Community for JVM
304 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Nullability and data flow problems |
🔶 Warning | 205 |
Unnecessary unicode escape sequence |
🔶 Warning | 24 |
Unused import |
🔶 Warning | 13 |
Suspicious collection method call |
🔶 Warning | 12 |
Optional.get() is called without isPresent() check |
🔶 Warning | 8 |
AutoCloseable used without 'try'-with-resources |
🔶 Warning | 6 |
Optional call chain can be simplified |
🔶 Warning | 4 |
Stream API call chain can be simplified |
🔶 Warning | 3 |
Suspicious 'InvocationHandler' implementation |
🔶 Warning | 2 |
Unused assignment |
🔶 Warning | 2 |
Access static member via instance reference |
🔶 Warning | 1 |
Standard 'Charset' object can be used |
🔶 Warning | 1 |
Statement with empty body |
🔶 Warning | 1 |
Field may be 'final' |
🔶 Warning | 1 |
@NotNull/@Nullable problems |
🔶 Warning | 1 |
'size() == 0' can be replaced with 'isEmpty()' |
🔶 Warning | 1 |
Minimum 'switch' branches |
🔶 Warning | 1 |
Method can be extracted |
◽️ Notice | 10 |
Multiple occurrences of the same expression |
◽️ Notice | 6 |
Nullability and data flow problems |
◽️ Notice | 1 |
'if' statement with identical branches or common parts |
◽️ Notice | 1 |
View the detailed Qodana report
To be able to view the detailed Qodana report, you can either:
- Register at Qodana Cloud and configure the action
- Use GitHub Code Scanning with Qodana
- Host Qodana report at GitHub Pages
- Inspect and use
qodana.sarif.json
(see the Qodana SARIF format for details)
To get *.log
files or any other Qodana artifacts, run the action with upload-result
option set to true
,
so that the action will upload the files as the job artifacts:
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
upload-result: true
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
Access static member via instance reference
Static member 'com.loohp.multichatdiscordsrvaddon.MultiChatDiscordSrvAddon.bungeeMessageListener' accessed via instance reference
github-actions / Qodana Community for JVM
AutoCloseable used without 'try'-with-resources
'SingleSubscription' used without 'try'-with-resources statement
github-actions / Qodana Community for JVM
AutoCloseable used without 'try'-with-resources
'SingleSubscription' used without 'try'-with-resources statement
github-actions / Qodana Community for JVM
AutoCloseable used without 'try'-with-resources
'SingleSubscription' used without 'try'-with-resources statement
github-actions / Qodana Community for JVM
AutoCloseable used without 'try'-with-resources
'SingleSubscription' used without 'try'-with-resources statement
github-actions / Qodana Community for JVM
AutoCloseable used without 'try'-with-resources
'SingleSubscription' used without 'try'-with-resources statement
github-actions / Qodana Community for JVM
AutoCloseable used without 'try'-with-resources
'SingleSubscription' used without 'try'-with-resources statement
github-actions / Qodana Community for JVM
Standard 'Charset' object can be used
StandardCharsets.UTF_8 can be used instead
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getMainScoreboard` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `asRGB` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
`null` is returned by the method declared as @NotNull
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getType` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getHitEntity` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `hasLodestone` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `asRGB` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `value` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getIdLong` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getBase` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getInventory` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getNamespace` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getItemInMainHand` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getHitEntity` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getColors` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getExpToLevel` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `hasTooltipStyle` may produce `NullPointerException`