Skip to content

build(deps): bump org.jetbrains.kotlin.jvm from 1.9.10 to 1.9.21 #10

build(deps): bump org.jetbrains.kotlin.jvm from 1.9.10 to 1.9.21

build(deps): bump org.jetbrains.kotlin.jvm from 1.9.10 to 1.9.21 #10

GitHub Actions / Qodana Community for JVM completed Nov 24, 2023 in 0s

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:

  1. Register at Qodana Cloud and configure the action
  2. Use GitHub Code Scanning with Qodana
  3. Host Qodana report at GitHub Pages
  4. 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

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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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 98 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/StatementLineMarkerProvider.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Incorrect string capitalization

String 'statement line marker' is not properly capitalized. It should have sentence capitalization

Check notice on line 34 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/StatementLineMarkerProvider.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

If-Null return/break/... foldable to '?:'

If-Null return/break/... foldable to '?:'

Check notice on line 31 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/StatementLineMarkerProvider.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

If-Null return/break/... foldable to '?:'

If-Null return/break/... foldable to '?:'

Check warning on line 47 in src/main/kotlin/com/github/imyuyu/sqltoy/reference/ContextSqlIdMarkReferenceContributor.kt

See this annotation in the file changed.

@github-actions 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

Check warning on line 57 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/StatementLineMarkerProvider.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Usage of redundant or deprecated syntax or deprecated symbols

No cast needed

Check warning on line 50 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/StatementLineMarkerProvider.kt

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused import directive

Unused import directive

Check warning on line 9 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/Xml2JavaGotoDeclarationHandler.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused import directive

Unused import directive

Check warning on line 11 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/Xml2JavaGotoDeclarationHandler.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused import directive

Unused import directive

Check warning on line 7 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/Xml2JavaGotoDeclarationHandler.kt

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Class member can have 'private' visibility

Function 'getXmlIdBindPsiElement' could be private

Check notice on line 8 in src/main/kotlin/com/github/imyuyu/sqltoy/reference/PsiJavaInjectReference.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Class member can have 'private' visibility

Property 'bingdElement' could be private

Check notice on line 8 in src/main/kotlin/com/github/imyuyu/sqltoy/reference/PsiJavaInjectReference.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Class member can have 'private' visibility

Property 'formElemnet' could be private

Check notice on line 21 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/StatementLineMarkerProvider.kt

See this annotation in the file changed.

@github-actions 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

Check warning on line 97 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/StatementLineMarkerProvider.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant nullable return type

'getName' always returns non-null type

Check warning on line 22 in src/main/kotlin/com/github/imyuyu/sqltoy/reference/PsiJavaInjectReference.kt

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant semicolon

Redundant semicolon

Check warning on line 38 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/Xml2JavaGotoDeclarationHandler.kt

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant semicolon

Redundant semicolon

Check warning on line 61 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/StatementLineMarkerProvider.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant semicolon

Redundant semicolon

Check warning on line 21 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/StatementLineMarkerProvider.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant semicolon

Redundant semicolon

Check warning on line 31 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/StatementLineMarkerProvider.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant semicolon

Redundant semicolon

Check warning on line 25 in src/main/kotlin/com/github/imyuyu/sqltoy/provider/Xml2JavaGotoDeclarationHandler.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant semicolon

Redundant semicolon