mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
EA-34103 - assert: FinalListener.perform
This commit is contained in:
+4
-1
@@ -228,7 +228,10 @@ public class JavaVariableInplaceIntroducer extends InplaceVariableIntroducer<Psi
|
||||
@Override
|
||||
protected void run(com.intellij.openapi.application.Result result) throws Throwable {
|
||||
PsiDocumentManager.getInstance(myProject).commitDocument(myEditor.getDocument());
|
||||
finalListener.perform(myCanBeFinalCb.isSelected(), getVariable());
|
||||
final PsiVariable variable = getVariable();
|
||||
if (variable != null) {
|
||||
finalListener.perform(myCanBeFinalCb.isSelected(), variable);
|
||||
}
|
||||
}
|
||||
}.execute();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user