mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SystemShortcuts: fix strong warnings
GitOrigin-RevId: f0ddda498b2e4d0b4595f36e13c1f0fe366ff0ec
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4f3033c44f
commit
b0e2febac8
@@ -387,14 +387,14 @@ public class SystemShortcuts {
|
||||
}
|
||||
|
||||
private static class MuteConflictsSettings {
|
||||
private final String MUTED_ACTIONS_KEY = "muted.system.shortcut.conflicts.actions";
|
||||
private static final String MUTED_ACTIONS_KEY = "muted.system.shortcut.conflicts.actions";
|
||||
private final @NotNull Set<String> myMutedActions = new HashSet<>();
|
||||
|
||||
MuteConflictsSettings() {
|
||||
final String[] muted = PropertiesComponent.getInstance().getValues(MUTED_ACTIONS_KEY);
|
||||
if (muted != null)
|
||||
for (String m: muted)
|
||||
myMutedActions.add(m);
|
||||
if (muted != null) {
|
||||
Collections.addAll(myMutedActions, muted);
|
||||
}
|
||||
}
|
||||
|
||||
void addMutedAction(@NotNull String actId) {
|
||||
|
||||
Reference in New Issue
Block a user