Fix: isFinalChunk logic error #12
11 new problems found by Qodana Community for JVM
Community for JVM
11 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Nullability and data flow problems |
🔶 Warning | 6 |
Class is exposed outside of its visibility scope |
🔶 Warning | 2 |
Incorrect string capitalization |
🔶 Warning | 2 |
Call to 'toString()' on array |
🔶 Warning | 1 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
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
Check warning on line 61 in src/main/java/ai/devchat/cli/DevChatConfig.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ModelConfig` is exposed outside its defined visibility scope
Check warning on line 65 in src/main/java/ai/devchat/cli/DevChatConfig.java
github-actions / Qodana Community for JVM
Class is exposed outside of its visibility scope
Class `ModelConfig` is exposed outside its defined visibility scope
Check warning on line 34 in src/main/java/ai/devchat/devchat/handler/ReplaceFileContentHandler.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getDocument` may produce `NullPointerException`
Check warning on line 60 in src/main/java/ai/devchat/idea/DevChatToolWindow.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `isEmpty` may produce `NullPointerException`
Check warning on line 22 in src/main/java/ai/devchat/idea/action/AddToDevChatEditorAction.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getSelectionModel` may produce `NullPointerException`
Check warning on line 33 in src/main/java/ai/devchat/idea/action/AddToDevChatEditorAction.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getPath` may produce `NullPointerException`
Check warning on line 65 in src/main/java/ai/devchat/idea/DevChatToolWindow.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `isEmpty` may produce `NullPointerException`
Check warning on line 34 in src/main/java/ai/devchat/devchat/handler/InsertCodeRequestHandler.java
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getDocument` may produce `NullPointerException`
Check warning on line 21 in src/main/java/ai/devchat/idea/setting/DevChatSettingsComponent.java
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'api_base' is not properly capitalized. It should have sentence capitalization
Check warning on line 22 in src/main/java/ai/devchat/idea/setting/DevChatSettingsComponent.java
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'api_key' is not properly capitalized. It should have sentence capitalization
Check warning on line 116 in src/main/java/ai/devchat/cli/DevChatInstallationManager.java
github-actions / Qodana Community for JVM
Call to 'toString()' on array
Implicit call to 'toString()' on array `command`