mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[devkit] EA-1165939 IAE: ListPopupImpl.$$$reportNull$$$0
GitOrigin-RevId: bb207c2e216acba00e9b2eddee9e54f0f4aa419c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5c4061cb3a
commit
dbe1bd679d
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package org.jetbrains.idea.devkit.inspections.quickfix;
|
||||
|
||||
import com.intellij.codeInsight.intention.preview.IntentionPreviewInfo;
|
||||
@@ -63,8 +63,8 @@ public class RegisterExtensionFix extends IntentionAndQuickFixAction {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file) {
|
||||
return !DumbService.isDumb(project);
|
||||
public boolean isAvailable(@NotNull Project project, @Nullable Editor editor, PsiFile file) {
|
||||
return editor != null && !DumbService.isDumb(project);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user