/src/main/java/org/htmlunit/html/impl/SimpleRange.java
else if ( endContainer_.getChildNodes( ).length( ) > endOffset_) {
else if ( endContainer_.getChildNodes ( ) .getLength ( ) > endOffset_ ) {
String text = getText(end); if (endOffset_ > -1 && endOffset_ < text.length()) { text = text.substring(endOffset_); } setText(end, text); } <extra_id_0> end = (DomNode) endContainer_.getChildNodes().item(endOffset_); } else { end = endContainer_.getNextSibling(); } boolean foundStart = false;