build(deps): bump org.jetbrains.kotlin.jvm from 1.9.10 to 1.9.21 #10
46 new problems found by Qodana Community for JVM
Community for JVM
46 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Redundant semicolon |
🔶 Warning | 17 |
Unused import directive |
🔶 Warning | 4 |
Usage of redundant or deprecated syntax or deprecated symbols |
🔶 Warning | 3 |
Local 'var' is never modified and can be declared as 'val' |
🔶 Warning | 2 |
Redundant nullable return type |
🔶 Warning | 2 |
Unused symbol |
🔶 Warning | 2 |
Incorrect string capitalization |
🔶 Warning | 1 |
Redundant visibility modifier |
🔶 Warning | 1 |
Class member can have 'private' visibility |
◽️ Notice | 3 |
Size check can be replaced with 'isNotEmpty()' |
◽️ Notice | 3 |
If-Null return/break/... foldable to '?:' |
◽️ Notice | 2 |
Unnecessary type argument |
◽️ Notice | 2 |
Can be replaced with binary operator |
◽️ Notice | 2 |
Private property naming convention |
◽️ Notice | 1 |
Accessor call that can be replaced with property access syntax |
◽️ 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/qodana-action@v2023.2.6
with:
upload-result: true
Contact 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
Check warning on line 31 in src/main/kotlin/com/github/imyuyu/sqltoy/util/JavaUtils.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 warning on line 24 in src/main/kotlin/com/github/imyuyu/sqltoy/util/JavaUtils.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'
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'statement line marker' is not properly capitalized. It should have sentence capitalization
github-actions / Qodana Community for JVM
If-Null return/break/... foldable to '?:'
If-Null return/break/... foldable to '?:'
github-actions / Qodana Community for JVM
If-Null return/break/... foldable to '?:'
If-Null return/break/... foldable to '?:'
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
Unnecessary non-null assertion (!!) on a non-null receiver of type PsiClass
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
No cast needed
github-actions / Qodana Community for JVM
Usage of redundant or deprecated syntax or deprecated symbols
No cast needed
Check warning on line 3 in src/main/kotlin/com/github/imyuyu/sqltoy/util/XmlUtil.kt
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
Check notice on line 144 in src/main/kotlin/com/github/imyuyu/sqltoy/util/JavaUtils.kt
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Function 'getXmlIdBindPsiElement' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'bingdElement' could be private
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Property 'formElemnet' could be private
github-actions / Qodana Community for JVM
Private property naming convention
Private property name `SQLTOY_ROOT` should not contain underscores in the middle or the end
github-actions / Qodana Community for JVM
Redundant nullable return type
'getName' always returns non-null type
github-actions / Qodana Community for JVM
Redundant nullable return type
'resolve' always returns non-null type
Check warning on line 15 in src/main/kotlin/com/github/imyuyu/sqltoy/util/XmlUtil.kt
github-actions / Qodana Community for JVM
Redundant semicolon
Redundant semicolon
github-actions / Qodana Community for JVM
Redundant semicolon
Redundant semicolon
Check warning on line 24 in src/main/kotlin/com/github/imyuyu/sqltoy/util/JavaUtils.kt
github-actions / Qodana Community for JVM
Redundant semicolon
Redundant semicolon
github-actions / Qodana Community for JVM
Redundant semicolon
Redundant semicolon
github-actions / Qodana Community for JVM
Redundant semicolon
Redundant semicolon
github-actions / Qodana Community for JVM
Redundant semicolon
Redundant semicolon
github-actions / Qodana Community for JVM
Redundant semicolon
Redundant semicolon