diff options
Diffstat (limited to 'xml/impl/src/com/intellij/codeInsight/editorActions/XmlEqTypedHandler.java')
-rw-r--r-- | xml/impl/src/com/intellij/codeInsight/editorActions/XmlEqTypedHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xml/impl/src/com/intellij/codeInsight/editorActions/XmlEqTypedHandler.java b/xml/impl/src/com/intellij/codeInsight/editorActions/XmlEqTypedHandler.java index 656a061b9b4a..bd0d76c42d38 100644 --- a/xml/impl/src/com/intellij/codeInsight/editorActions/XmlEqTypedHandler.java +++ b/xml/impl/src/com/intellij/codeInsight/editorActions/XmlEqTypedHandler.java @@ -38,7 +38,7 @@ public class XmlEqTypedHandler extends TypedHandlerDelegate { PsiElement at = file.findElementAt(editor.getCaretModel().getOffset() - 1); PsiElement atParent = at != null ? at.getParent() : null; if(atParent instanceof XmlAttribute && ((XmlAttribute)atParent).getValueElement() == null) { - needToInsertQuotes = atParent instanceof XmlAttribute && ((XmlAttribute)atParent).getValueElement() == null; + needToInsertQuotes = ((XmlAttribute)atParent).getValueElement() == null; } } } |