15 new problems found by Qodana Community for JVM
Qodana Community for JVM
15 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unused symbol |
🔶 Warning | 3 |
Unused import directive |
🔶 Warning | 2 |
Incorrect string capitalization |
🔶 Warning | 1 |
'equals()' and 'hashCode()' not paired |
🔶 Warning | 1 |
Redundant nullable return type |
🔶 Warning | 1 |
Unstable API Usage |
🔶 Warning | 1 |
Might be 'const' |
◽️ Notice | 5 |
Redundant empty primary constructor |
◽️ 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 37 in src/main/kotlin/com/redhat/devtools/gateway/DevSpacesConnector.kt
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'Connects to a Dev Spaces Workspace' is not properly capitalized. It should have sentence capitalization
Check warning on line 16 in src/main/kotlin/com/redhat/devtools/gateway/openshift/DevWorkspace.kt
github-actions / Qodana Community for JVM
'equals()' and 'hashCode()' not paired
Class has `equals()` defined but does not define `hashCode()`
Check warning on line 3 in build.gradle.kts
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
Check warning on line 16 in src/main/kotlin/com/redhat/devtools/gateway/view/LoaderDialog.kt
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
Check notice on line 26 in src/main/kotlin/com/redhat/devtools/gateway/openshift/DevWorkspaces.kt
github-actions / Qodana Community for JVM
Might be 'const'
Might be 'const'
Check notice on line 29 in src/main/kotlin/com/redhat/devtools/gateway/openshift/DevWorkspaces.kt
github-actions / Qodana Community for JVM
Might be 'const'
Might be 'const'
Check notice on line 28 in src/main/kotlin/com/redhat/devtools/gateway/openshift/DevWorkspaces.kt
github-actions / Qodana Community for JVM
Might be 'const'
Might be 'const'
Check notice on line 27 in src/main/kotlin/com/redhat/devtools/gateway/openshift/DevWorkspaces.kt
github-actions / Qodana Community for JVM
Might be 'const'
Might be 'const'
Check notice on line 25 in src/main/kotlin/com/redhat/devtools/gateway/openshift/DevWorkspaces.kt
github-actions / Qodana Community for JVM
Might be 'const'
Might be 'const'
github-actions / Qodana Community for JVM
Redundant nullable return type
'connect' always returns non-null type
github-actions / Qodana Community for JVM
Redundant empty primary constructor
Remove empty primary constructor
github-actions / Qodana Community for JVM
Unstable API Usage
'lifetime' is declared in unstable 'com.jetbrains.gateway.thinClientLink.ThinClientHandle' marked with @ApiStatus.Experimental
Check warning on line 28 in src/main/kotlin/com/redhat/devtools/gateway/openshift/DevWorkspaces.kt
github-actions / Qodana Community for JVM
Unused symbol
Property "STARTING" is never used
Check warning on line 25 in src/main/kotlin/com/redhat/devtools/gateway/openshift/DevWorkspaces.kt
github-actions / Qodana Community for JVM
Unused symbol
Property "FAILED" is never used
Check warning on line 103 in src/main/kotlin/com/redhat/devtools/gateway/view/DevSpacesWizardView.kt
github-actions / Qodana Community for JVM
Unused symbol
Function "isLastStep" is never used