/src/main/java/org/htmlunit/html/DomElement.java
sibling.remove ( ) ;
public void remove() { if (nextElement_ == null) { throw new IllegalStateException(); } final DomNode sibling = nextElement_.getPreviousSibling(); if (sibling != null) { <extra_id_0> } } private void setNextElement(final DomNode node) { DomNode next = node.getNextSibling(); while (next != null && !(next instanceof DomElement)) { next = next.getNextSibling();