update version #1105
7 new problems found by Qodana Community for JVM
Qodana Community for JVM
7 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Local 'var' is never modified and can be declared as 'val' |
🔶 Warning | 1 |
Incorrect string capitalization |
🔶 Warning | 1 |
Redundant nullable return type |
🔶 Warning | 1 |
String concatenation that can be converted to string template |
◽️ Notice | 2 |
Class member can have 'private' visibility |
◽️ Notice | 1 |
Redundant lambda arrow |
◽️ Notice | 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 68 in src/main/kotlin/com/coder/gateway/util/LinkHandler.kt
github-actions / Qodana Community for JVM
Local 'var' is never modified and can be declared as 'val'
Variable is never modified, so it can be declared using 'val'
Check notice on line 487 in src/main/kotlin/com/coder/gateway/cli/CoderCLIManager.kt
github-actions / Qodana Community for JVM
String concatenation that can be converted to string template
'String' concatenation can be converted to a template
Check notice on line 577 in src/main/kotlin/com/coder/gateway/cli/CoderCLIManager.kt
github-actions / Qodana Community for JVM
String concatenation that can be converted to string template
'String' concatenation can be converted to a template
Check warning on line 41 in src/main/kotlin/com/coder/gateway/util/Dialogs.kt
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'Choose IDE and project for workspace {0}' is not properly capitalized. It should have title capitalization
Check notice on line 521 in src/main/kotlin/com/coder/gateway/cli/CoderCLIManager.kt
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Function 'getHostPrefix' could be private
github-actions / Qodana Community for JVM
Redundant lambda arrow
Redundant lambda arrow
github-actions / Qodana Community for JVM
Redundant nullable return type
'valueOf' always returns non-null type