/src/main/java/org/htmlunit/html/impl/SimpleRange.java
i--; child.remove( ) ;
child.remove ( ) ; i--;
} } else { final DomNodeList<DomNode> children = node.getChildNodes(); for (int i = offset; i < children.getLength(); i++) { final DomNode child = children.get(i); <extra_id_0> } } } private static int getMaxOffset(final DomNode node) { return isOffsetChars(node) ? getText(node).length() : node.getChildNodes().getLength(); }