mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-88507 - IAE: CollapseTagIntention.a
This commit is contained in:
@@ -73,7 +73,10 @@ public class CollapseTagIntention implements LocalQuickFix, IntentionAction {
|
||||
|
||||
@Override
|
||||
public void invoke(@NotNull Project project, Editor editor, PsiFile file) throws IncorrectOperationException {
|
||||
applyFix(project, getTag(editor, file));
|
||||
XmlTag tag = getTag(editor, file);
|
||||
if (tag != null) {
|
||||
applyFix(project, tag);
|
||||
}
|
||||
}
|
||||
|
||||
private static XmlTag getTag(Editor editor, PsiFile file) {
|
||||
|
||||
Reference in New Issue
Block a user