Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump org.jetbrains.kotlin.jvm from 1.9.23 to 2.1.0 #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Bump org.jetbrains.kotlin.jvm from 1.9.23 to 2.1.0

3ff7bce
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Bump org.jetbrains.kotlin.jvm from 1.9.23 to 2.1.0 #20

Bump org.jetbrains.kotlin.jvm from 1.9.23 to 2.1.0
3ff7bce
Select commit
Loading
Failed to load commit list.
GitHub Actions / Qodana Community for JVM completed Nov 27, 2024 in 0s

97 new problems found by Qodana Community for JVM

Qodana Community for JVM

97 new problems were found

Inspection name Severity Problems
Usage of API marked for removal 🔴 Failure 1
Usage of redundant or deprecated syntax or deprecated symbols 🔶 Warning 15
Unused import directive 🔶 Warning 14
Redundant qualifier name 🔶 Warning 4
Unused symbol 🔶 Warning 4
Redundant nullable return type 🔶 Warning 3
'catch' block may ignore exception 🔶 Warning 2
Constant conditions 🔶 Warning 2
Class member can have 'private' visibility ◽️ Notice 18
If-Null return/break/... foldable to '?:' ◽️ Notice 7
Const property naming convention ◽️ Notice 6
Can be replaced with binary operator ◽️ Notice 5
Non-distinguishable logging calls ◽️ Notice 4
Boolean expression can be simplified ◽️ Notice 4
Accessor call that can be replaced with property access syntax ◽️ Notice 2
Return or assignment can be lifted out ◽️ Notice 1
Local variable naming convention ◽️ Notice 1
Package name does not match containing directory ◽️ Notice 1
Redundant call to 'toString()' in string template ◽️ Notice 1
Java methods should be replaced with Kotlin analog ◽️ Notice 1
Negated call can be simplified ◽️ 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/[email protected]
        with:
          upload-result: true
Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 18 in src/main/kotlin/io/codeclimbers/jetbrains/ConfigFile.kt

See this annotation in the file changed.

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

Const property naming convention

Const property name `fileName` should not contain lowercase letters

Check notice on line 42 in src/main/kotlin/io/codeclimbers/jetbrains/Dependencies.kt

See this annotation in the file changed.

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

Const property naming convention

Const property name `githubReleasesUrl` should not contain lowercase letters

Check notice on line 43 in src/main/kotlin/io/codeclimbers/jetbrains/Dependencies.kt

See this annotation in the file changed.

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

Const property naming convention

Const property name `githubDownloadUrl` should not contain lowercase letters

Check notice on line 57 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt

See this annotation in the file changed.

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

Const property naming convention

Const property name `queueTimeoutSeconds` should not contain lowercase letters

Check notice on line 17 in src/main/kotlin/io/codeclimbers/jetbrains/ConfigFile.kt

See this annotation in the file changed.

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

Const property naming convention

Const property name `apiUrl` should not contain lowercase letters

Check notice on line 19 in src/main/kotlin/io/codeclimbers/jetbrains/ConfigFile.kt

See this annotation in the file changed.

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

Const property naming convention

Const property name `internalFileName` should not contain lowercase letters

Check notice on line 76 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.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 436 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.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 303 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.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 135 in src/main/kotlin/io/codeclimbers/jetbrains/Dependencies.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 15 in src/main/kotlin/io/codeclimbers/jetbrains/CustomDocumentListener.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 438 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.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 16 in src/main/kotlin/io/codeclimbers/jetbrains/CustomSaveListener.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 214 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt

See this annotation in the file changed.

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

'catch' block may ignore exception

Empty catch block

Check warning on line 558 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt

See this annotation in the file changed.

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

'catch' block may ignore exception

Empty catch block

Check warning on line 324 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt

See this annotation in the file changed.

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

Constant conditions

Condition 'heartbeat.cursorPosition != null \&\& false' is always false

Check warning on line 320 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.kt

See this annotation in the file changed.

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

Constant conditions

Condition 'heartbeat.lineNumber != null \&\& false' is always false

Check warning on line 454 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.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

Elvis operator (?:) always returns the left operand of non-nullable type FileDocumentManager

Check warning on line 26 in src/main/kotlin/io/codeclimbers/jetbrains/CustomVisibleAreaListener.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

Elvis operator (?:) always returns the left operand of non-nullable type Rectangle

Check warning on line 53 in src/main/kotlin/io/codeclimbers/jetbrains/Settings.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

'toLowerCase(): String' is deprecated. Use lowercase() instead.

Check warning on line 84 in src/main/kotlin/io/codeclimbers/jetbrains/ConfigFile.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

'toLowerCase(): String' is deprecated. Use lowercase() instead.

Check warning on line 102 in src/main/kotlin/io/codeclimbers/jetbrains/ConfigFile.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

'toLowerCase(): String' is deprecated. Use lowercase() instead.

Check warning on line 133 in src/main/kotlin/io/codeclimbers/jetbrains/ConfigFile.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

Elvis operator (?:) always returns the left operand of non-nullable type String?

Check warning on line 48 in src/main/kotlin/io/codeclimbers/jetbrains/ConfigFile.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

'toLowerCase(): String' is deprecated. Use lowercase() instead.

Check warning on line 626 in src/main/kotlin/io/codeclimbers/jetbrains/CodeClimbers.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

'toLowerCase(): String' is deprecated. Use lowercase() instead.