mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Nullability (IDEA-CR-36128)
This commit is contained in:
@@ -230,7 +230,7 @@ public class DefaultActionGroup extends ActionGroup {
|
||||
remove(action, id);
|
||||
}
|
||||
|
||||
public final void remove(@NotNull AnAction action, String id) {
|
||||
public final void remove(@NotNull AnAction action, @Nullable String id) {
|
||||
if (!mySortedChildren.remove(action) &&
|
||||
!mySortedChildren.removeIf(oldAction ->
|
||||
oldAction instanceof ActionStub && ((ActionStub) oldAction).getId().equals(id))) {
|
||||
|
||||
Reference in New Issue
Block a user