Chore(deps): Bump net.kyori:adventure-nbt from 4.18.0 to 4.24.0 - #74
Chore(deps): Bump net.kyori:adventure-nbt from 4.18.0 to 4.24.0#74dependabot[bot] wants to merge 1 commit into
374 new problems found by Qodana Community for JVM
Qodana Community for JVM
374 new problems were found
| Inspection name | Severity | Problems |
|---|---|---|
Nullability and data flow problems |
🔶 Warning | 267 |
Unnecessary unicode escape sequence |
🔶 Warning | 25 |
Suspicious collection method call |
🔶 Warning | 12 |
Unused import |
🔶 Warning | 12 |
Stream API call chain can be simplified |
🔶 Warning | 7 |
AutoCloseable used without 'try'-with-resources |
🔶 Warning | 6 |
Optional.get() is called without isPresent() check |
🔶 Warning | 5 |
Optional call chain can be simplified |
🔶 Warning | 4 |
Lombok @Getter may be used |
🔶 Warning | 2 |
Null value for Optional type |
🔶 Warning | 2 |
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 |
Link specified as plain text |
🔶 Warning | 1 |
Lombok @Setter may be used |
🔶 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 | 11 |
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/qodana-action@v2025.1.1
with:
upload-result: trueContact Qodana team
Contact us at qodana-support@jetbrains.com
- 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 `setDurability` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Variable is already assigned to this value
github-actions / Qodana Community for JVM
Nullability and data flow problems
Variable is already assigned to this value
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
Argument `player.getName()` might be null
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getEquipment` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `b` may produce `NullPointerException`
Check warning on line 342 in V1_20/src/main/java/com/loohp/multichatdiscordsrvaddon/nms/V1_20.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `b` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `b` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getWorld` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `setMapId` may produce `NullPointerException`
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 `e` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Variable is already assigned to this value
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `a` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `hasChargedProjectiles` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `isHideTooltip` may produce `NullPointerException`