Skip to content

fix: fix correct checking/unlocking radicle identity #1280

fix: fix correct checking/unlocking radicle identity

fix: fix correct checking/unlocking radicle identity #1280

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

668 new problems found by Qodana Community for JVM

Qodana Community for JVM

668 new problems were found

Inspection name Severity Problems
Usage of API marked for removal 🔴 Failure 3
Unstable API Usage 🔶 Warning 547
Deprecated API usage 🔶 Warning 29
Nullability and data flow problems 🔶 Warning 14
Field may be 'final' 🔶 Warning 13
Field can be local 🔶 Warning 6
Result of method call ignored 🔶 Warning 6
Unchecked warning 🔶 Warning 6
@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
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
Unused import 🔶 Warning 1
Unnecessary unicode escape sequence 🔶 Warning 1
Non-distinguishable logging calls ◽️ Notice 8
Method can be extracted ◽️ Notice 2
Logger initialized with foreign class ◽️ Notice 2
Commented out code ◽️ 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 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 86 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 227 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 218 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 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 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 138 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 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 126 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 70 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 113 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 135 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 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 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 18 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/UpdateBackgroundTask.java

See this annotation in the file changed.

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

Deprecated API usage

'com.intellij.openapi.progress.PerformInBackgroundOption' is deprecated

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

See this annotation in the file changed.

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

Deprecated API usage

'attachActions(javax.swing.JComponent, com.intellij.collaboration.ui.codereview.comment.CommentInputActionsComponentFactory.Config)' is deprecated

Check warning on line 290 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

Deprecated API usage

'overrideUIDependentProperty(T, kotlin.jvm.functions.Function1)' is deprecated

Check warning on line 248 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/issues/CreateIssuePanel.java

See this annotation in the file changed.

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

Deprecated API usage

'com.intellij.collaboration.ui.codereview.ReturnToListComponent' is deprecated

Check warning on line 38 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.AddCommentGutterIconRenderer' is deprecated