File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/main/kotlin/io/snyk/plugin/settings Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ class SnykProjectSettingsConfigurable(val project: Project) : SearchableConfigur
112112 }
113113
114114 val rescanNeeded = isCoreParamsModified()
115- val productSelectionChanged = snykSettingsDialog.isScanTypeChanged()
116- val severitySelectionChanged = snykSettingsDialog.isSeverityEnablementChanged()
115+ snykSettingsDialog.isScanTypeChanged()
116+ snykSettingsDialog.isSeverityEnablementChanged()
117117
118118 if (isCustomEndpointModified()) {
119119 settingsStateService.customEndpointUrl = customEndpoint
@@ -273,7 +273,7 @@ fun handleReleaseChannelChange(project: Project) {
273273 if (! pluginSettings().manageBinariesAutomatically) return
274274
275275 ApplicationManager .getApplication().invokeLater {
276- @Suppress( " CanBeVal " ) var notification: Notification ? = null
276+ var notification: Notification ? = null
277277 val downloadAction =
278278 object : AnAction (" Download" ) {
279279 override fun actionPerformed (e : AnActionEvent ) {
@@ -288,7 +288,6 @@ fun handleReleaseChannelChange(project: Project) {
288288 notification?.expire()
289289 }
290290 }
291- @Suppress(" AssignedValueIsNeverRead" )
292291 notification =
293292 SnykBalloonNotificationHelper .showInfo(
294293 " You changed the release channel. Would you like to download a new Snyk CLI now?" ,
You can’t perform that action at this time.
0 commit comments