Skip to content

build: on release, build native library/binary and attach to publishe… #978

build: on release, build native library/binary and attach to publishe…

build: on release, build native library/binary and attach to publishe… #978

GitHub Actions / Qodana Community for JVM completed Jan 16, 2025 in 0s

704 new problems found by Qodana Community for JVM

Qodana Community for JVM

704 new problems were found

Inspection name Severity Problems
Usage of API marked for removal 🔴 Failure 3
Unstable API Usage 🔶 Warning 565
Deprecated API usage 🔶 Warning 46
Nullability and data flow problems 🔶 Warning 14
Field may be 'final' 🔶 Warning 14
Field can be local 🔶 Warning 6
Unchecked warning 🔶 Warning 6
Result of method call ignored 🔶 Warning 5
@NotNull/@Nullable problems 🔶 Warning 5
Redundant semicolon 🔶 Warning 5
Magic constant 🔶 Warning 3
Constant values 🔶 Warning 2
Incorrect string capitalization 🔶 Warning 2
Redundant qualifier name 🔶 Warning 2
Minimum 'switch' branches 🔶 Warning 2
Redundant 'if' statement 🔶 Warning 2
Condition is covered by further condition 🔶 Warning 1
Duplicate throws 🔶 Warning 1
Functional expression can be folded 🔶 Warning 1
Non-final field in 'enum' 🔶 Warning 1
Redundant type cast 🔶 Warning 1
Redundant character escape 🔶 Warning 1
'size() == 0' can be replaced with 'isEmpty()' 🔶 Warning 1
Unnecessary unicode escape sequence 🔶 Warning 1
Non-distinguishable logging calls ◽️ Notice 6
Commented out code ◽️ Notice 2
Method can be extracted ◽️ Notice 2
Logger initialized with foreign class ◽️ Notice 2
Constant values ◽️ Notice 1
Trailing comma recommendations ◽️ 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/[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 511 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/services/RadicleProjectService.java

See this annotation in the file changed.

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

Commented out code

Commented out code (11 lines)

Check notice on line 190 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/PatchProposalPanel.java

See this annotation in the file changed.

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

Commented out code

Commented out code (2 lines)

Check warning on line 85 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/PatchComponentFactory.java

See this annotation in the file changed.

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

Condition is covered by further condition

Condition 'c == null' covered by subsequent condition '!(c instanceof GitCommit gc)'

Check warning on line 215 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/config/RadicleSettingsView.java

See this annotation in the file changed.

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

Constant values

Condition `!isRadHomeValidPath` is always `true`

Check warning on line 224 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/config/RadicleSettingsView.java

See this annotation in the file changed.

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

Constant values

Condition `!isRadHomeValidPath` is always `true`

Check notice on line 68 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/actions/rad/RadCobShow.java

See this annotation in the file changed.

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

Constant values

Value `patch` is always 'null'

Check warning on line 74 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/dialog/PublishDialog.java

See this annotation in the file changed.

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

Nullability and data flow problems

Dereference of `((Visibility) visibilitySelect.getSelectedItem())` may produce `NullPointerException`

Check warning on line 172 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/dialog/TrackDialog.java

See this annotation in the file changed.

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

Nullability and data flow problems

Dereference of `((RadTrack.RadTrackType) trackActionSelect.getSelectedItem())` may produce `NullPointerException`

Check warning on line 222 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/review/ObservableThreadModel.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getRevisionNumber` may produce `NullPointerException`

Check warning on line 134 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/PatchComponentFactory.java

See this annotation in the file changed.

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

Nullability and data flow problems

@Nullable method 'getCurrentName' always returns a non-null value

Check warning on line 136 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/toolwindow/DragAndDropField.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `xyToLogicalPosition` may produce `NullPointerException`

Check warning on line 234 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/review/ObservableThreadModel.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getRoot` may produce `NullPointerException`

Check warning on line 24 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/RadicleBundle.java

See this annotation in the file changed.

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

Nullability and data flow problems

Expression `INSTANCE.messageOrDefault(key, "", params)` might evaluate to null but is returned by the method declared as @NotNull

Check warning on line 71 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/actions/ReviewSubmitAction.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getUserData` may produce `NullPointerException`

Check warning on line 232 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/review/ObservableThreadModel.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getFile` may produce `NullPointerException`

Check warning on line 20 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/RadicleBundle.java

See this annotation in the file changed.

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

Nullability and data flow problems

Expression `INSTANCE.messageOrDefault(key, key, params)` might evaluate to null but is returned by the method declared as @NotNull

Check warning on line 111 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/toolwindow/DragAndDropField.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `xyToLogicalPosition` may produce `NullPointerException`

Check warning on line 125 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/PatchComponentFactory.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getComponents` may produce `NullPointerException`

Check warning on line 220 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/review/ObservableThreadModel.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getRevisionNumber` may produce `NullPointerException`

Check warning on line 105 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/toolwindow/DropdownFilter.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getSelectedValue` may produce `NullPointerException`

Check warning on line 432 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/services/RadicleProjectService.java

See this annotation in the file changed.

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

Deprecated API usage

'escapeUnixShellArgument(java.lang.String)' is deprecated

Check warning on line 364 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/services/RadicleProjectService.java

See this annotation in the file changed.

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

Deprecated API usage

'escapeUnixShellArgument(java.lang.String)' is deprecated

Check warning on line 122 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/timeline/TimelineComponent.java

See this annotation in the file changed.

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

Deprecated API usage

'setBody(java.lang.String)' is deprecated

Check warning on line 130 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/review/PatchDiffEditorGutterIconFactory.java

See this annotation in the file changed.

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

Deprecated API usage

'com.intellij.collaboration.ui.codereview.diff.EditorComponentInlaysManager' is deprecated

Check warning on line 378 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/services/RadicleProjectService.java

See this annotation in the file changed.

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

Deprecated API usage

'escapeUnixShellArgument(java.lang.String)' is deprecated