Skip to content

Fix deprecated API usage (#224)

Sign in for the full log view
GitHub Actions / Qodana Community for JVM completed Jan 21, 2025 in 0s

26 new problems found by Qodana Community for JVM

Qodana Community for JVM

26 new problems were found

Inspection name Severity Problems
Unused import directive 🔶 Warning 7
Incorrect string capitalization 🔶 Warning 6
Unstable API Usage 🔶 Warning 4
Unused symbol 🔶 Warning 1
Class member can have 'private' visibility ◽️ Notice 3
Property naming convention ◽️ Notice 3
Might be 'const' ◽️ Notice 1
Unnecessary type argument ◽️ 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:

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@v2024.2.5
        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 45 in src/main/kotlin/com/jfrog/conan/clion/dialogs/ConanExecutableDialog.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Conan Executable' is not properly capitalized. It should have sentence capitalization

Check warning on line 56 in src/main/kotlin/com/jfrog/conan/clion/toolWindow/MainActionToolbar.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Show used packages' is not properly capitalized. It should have title capitalization

Check warning on line 100 in src/main/kotlin/com/jfrog/conan/clion/toolWindow/PackageInformationPanel.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Library Removed From Project' is not properly capitalized. It should have sentence capitalization

Check warning on line 36 in src/main/kotlin/com/jfrog/conan/clion/toolWindow/MainActionToolbar.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Update packages and dependency provider' is not properly capitalized. It should have title capitalization

Check warning on line 27 in src/main/kotlin/com/jfrog/conan/clion/dialogs/ConanExecutableDialog.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Select Conan executable' is not properly capitalized. It should have title capitalization

Check warning on line 57 in src/main/kotlin/com/jfrog/conan/clion/services/ConanService.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Add Conan support to the project' is not properly capitalized. It should have title capitalization

Check warning on line 17 in src/main/kotlin/com/jfrog/conan/clion/services/ConanService.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 10 in src/main/kotlin/com/jfrog/conan/clion/cmake/CMake.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 3 in src/main/kotlin/com/jfrog/conan/clion/conan/ConanPluginUtils.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 4 in src/main/kotlin/com/jfrog/conan/clion/conan/ConanPluginUtils.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/jfrog/conan/clion/cmake/CMake.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 13 in src/main/kotlin/com/jfrog/conan/clion/cmake/CMake.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 12 in src/main/kotlin/com/jfrog/conan/clion/cmake/CMake.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 14 in src/main/kotlin/com/jfrog/conan/clion/conan/ConanPluginUtils.kt

See this annotation in the file changed.

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

Might be 'const'

Might be 'const'

Check notice on line 83 in src/main/kotlin/com/jfrog/conan/clion/toolWindow/ReadmePanel.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Function 'getHtml' could be private

Check notice on line 91 in src/main/kotlin/com/jfrog/conan/clion/toolWindow/UsedPackagesPanel.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Function 'getHtml' could be private

Check notice on line 154 in src/main/kotlin/com/jfrog/conan/clion/services/ConanService.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Function 'getCMakeProviderFile' could be private

Check notice on line 9 in src/main/kotlin/com/jfrog/conan/clion/models/Library.kt

See this annotation in the file changed.

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

Property naming convention

Property name `cmake_file_name` should not contain underscores

Check notice on line 10 in src/main/kotlin/com/jfrog/conan/clion/models/Library.kt

See this annotation in the file changed.

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

Property naming convention

Property name `cmake_target_name` should not contain underscores

Check notice on line 6 in src/main/kotlin/com/jfrog/conan/clion/models/Component.kt

See this annotation in the file changed.

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

Property naming convention

Property name `cmake_target_name` should not contain underscores

Check notice on line 78 in src/main/kotlin/com/jfrog/conan/clion/cmake/CMake.kt

See this annotation in the file changed.

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

Unnecessary type argument

Remove explicit type arguments

Check warning on line 115 in src/main/kotlin/com/jfrog/conan/clion/toolWindow/ReadmePanel.kt

See this annotation in the file changed.

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

Unstable API Usage

'getCurrentUIThemeLookAndFeel()' is unstable because its signature references unstable 'com.intellij.ide.ui.laf.UIThemeLookAndFeelInfo' marked with @ApiStatus.Experimental

Check warning on line 116 in src/main/kotlin/com/jfrog/conan/clion/toolWindow/UsedPackagesPanel.kt

See this annotation in the file changed.

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

Unstable API Usage

'getCurrentUIThemeLookAndFeel()' is unstable because its signature references unstable 'com.intellij.ide.ui.laf.UIThemeLookAndFeelInfo' marked with @ApiStatus.Experimental

Check warning on line 117 in src/main/kotlin/com/jfrog/conan/clion/toolWindow/ReadmePanel.kt

See this annotation in the file changed.

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

Unstable API Usage

'isDark()' is declared in unstable 'com.intellij.ide.ui.laf.UIThemeLookAndFeelInfo' marked with @ApiStatus.Experimental

Check warning on line 118 in src/main/kotlin/com/jfrog/conan/clion/toolWindow/UsedPackagesPanel.kt

See this annotation in the file changed.

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

Unstable API Usage

'isDark()' is declared in unstable 'com.intellij.ide.ui.laf.UIThemeLookAndFeelInfo' marked with @ApiStatus.Experimental