mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
assertion
This commit is contained in:
+2
-1
@@ -152,6 +152,7 @@ public class IntentionHintComponent extends JPanel implements Disposable, Scroll
|
||||
|
||||
@Override
|
||||
public void dispose() {
|
||||
ApplicationManager.getApplication().assertIsDispatchThread();
|
||||
myDisposed = true;
|
||||
myComponentHint.hide();
|
||||
super.hide();
|
||||
@@ -420,7 +421,7 @@ public class IntentionHintComponent extends JPanel implements Disposable, Scroll
|
||||
myPopupShown = true;
|
||||
}
|
||||
|
||||
private void recreateMyPopup(IntentionListStep step) {
|
||||
private void recreateMyPopup(@NotNull IntentionListStep step) {
|
||||
if (myPopup != null) {
|
||||
Disposer.dispose(myPopup);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user