dom: remove unused method

This commit is contained in:
peter
2019-04-12 18:08:33 +02:00
parent 7c6d2f45cc
commit d6e5a3af6d
@@ -885,17 +885,6 @@ public abstract class DomInvocationHandler<T extends AbstractDomChildDescription
return Collections.unmodifiableList(elements);
}
private List<? extends DomElement> addIncludedElements(List<? extends DomElement> elements, XmlName xmlName) {
assert myStub != null;
List<DomElement> result = new SmartList<>(elements);
for (Stub stub : myStub.getChildrenStubs()) {
if (stub instanceof XIncludeStub) {
((XIncludeStub)stub).resolve(this, result, xmlName);
}
}
return result;
}
private List<XmlTag> getCollectionSubTags(@NotNull AbstractCollectionChildDescription description, @NotNull XmlTag tag) {
if (description instanceof CollectionChildDescriptionImpl) {
return ((CollectionChildDescriptionImpl)description).getCollectionSubTags(this, tag);