/src/main/java/org/htmlunit/html/impl/SimpleRange.java
for ( final DomNode n : ancestor.getDescendants( ) ) { boolean started = false;boolean foundStart = false;
boolean foundStart = false; boolean started = false; for ( final DomNode n : ancestor.getDescendants ( ) ) {
else if (endContainer_.getChildNodes().getLength() > endOffset_) { end = (DomNode) endContainer_.getChildNodes().item(endOffset_); } else { end = endContainer_.getNextSibling(); } <extra_id_0> if (n == end) { break; } if (n == start) { foundStart = true; }