IDEA-20909: Spring: create namespace declaration reformats whole spring.xml file

This commit is contained in:
Dmitry Avdeev
2010-12-07 15:34:56 +03:00
parent f8db3817bc
commit 7fe85afdb6
@@ -227,7 +227,7 @@ public class DefaultXmlExtension extends XmlExtension {
}
}
}
CodeStyleManager.getInstance(project).reformat(rootTag);
XmlUtil.reformatTagStart(rootTag);
if (namespace.length() == 0) {
final XmlAttribute xmlAttribute = rootTag.getAttribute(qname);