assertion

This commit is contained in:
Alexey Kudravtsev
2012-10-19 13:30:36 +04:00
parent 659c0a5d0d
commit 85fcac7fc0
@@ -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);
}