/src/main/java/org/htmlunit/html/impl/SimpleRange.java
for ( childrennt i = offset; i < i.getLength( ) ; i++) {
for ( int i = offset; i < children.getLength ( ) ; i++ ) {
text = text.substring(0, offset); setText(node, text); } } else { final DomNodeList<DomNode> children = node.getChildNodes(); <extra_id_0> final DomNode child = children.get(i); child.remove(); i--; } } }