Skip to content

Commit af395d1

Browse files
rayshadeintellij-monorepo-bot
authored andcommitted
Removed unnecessary return value
(cherry picked from commit dd4ccc527e1d4811815af4da7ddc9fc66ffef1b4) IJ-MR-176799 GitOrigin-RevId: 443a89604ffa0adbb988dc557145e560109be49a
1 parent 4f5699a commit af395d1

File tree

1 file changed

+5
-5
lines changed
  • plugins/built-in-help/src/com/jetbrains/builtInHelp

1 file changed

+5
-5
lines changed

plugins/built-in-help/src/com/jetbrains/builtInHelp/Utils.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ class Utils {
6363
}
6464

6565
@JvmStatic
66-
fun setStoredValue(key: SettingsPage.SettingKey, value: String?): Boolean {
66+
fun setStoredValue(key: SettingsPage.SettingKey, value: String?) {
6767
if (!key.second) {
6868
PropertiesComponent.getInstance().setValue(key.first, value, EMPTY_STRING)
69-
return true
7069
}
71-
val passwordSafe = PasswordSafe.instance
72-
passwordSafe.set(secureKey, Credentials(key.first, value))
73-
return true
70+
else {
71+
val passwordSafe = PasswordSafe.instance
72+
passwordSafe.set(secureKey, Credentials(key.first, value))
73+
}
7474
}
7575
}
7676
}

0 commit comments

Comments
 (0)