/src/main/java/org/htmlunit/html/impl/SimpleRange.java
if ( endClone == null) {   throw new IllegalStateException( "Unable to find end node clone.") ; }
[Delete]
endClone = ce; break; } } } if (endClone == null) { <extra_id_0> } deleteAfter(endClone, endOffset_); for (DomNode n = endClone; n != null; n = n.getParentNode()) { while (n.getNextSibling() != null) { n.getNextSibling().remove(); }