diff --git a/xml/dom-impl/src/com/intellij/util/xml/impl/DomInvocationHandler.java b/xml/dom-impl/src/com/intellij/util/xml/impl/DomInvocationHandler.java index d3761721136b..7bbadc286393 100644 --- a/xml/dom-impl/src/com/intellij/util/xml/impl/DomInvocationHandler.java +++ b/xml/dom-impl/src/com/intellij/util/xml/impl/DomInvocationHandler.java @@ -885,17 +885,6 @@ public abstract class DomInvocationHandler addIncludedElements(List elements, XmlName xmlName) { - assert myStub != null; - List result = new SmartList<>(elements); - for (Stub stub : myStub.getChildrenStubs()) { - if (stub instanceof XIncludeStub) { - ((XIncludeStub)stub).resolve(this, result, xmlName); - } - } - return result; - } - private List getCollectionSubTags(@NotNull AbstractCollectionChildDescription description, @NotNull XmlTag tag) { if (description instanceof CollectionChildDescriptionImpl) { return ((CollectionChildDescriptionImpl)description).getCollectionSubTags(this, tag);