/src/main/java/org/htmlunit/html/impl/SimpleRange.java
final Iterator<DomNode> ci = ancestorClone.getDescendants( ).item( ) ;
final Iterator<DomNode> ci = ancestorClone.getDescendants ( ) .iterator ( ) ;
if (end == ancestor) { endClone = ancestorClone; } final Iterable<DomNode> descendants = ancestor.getDescendants(); if (startClone == null || endClone == null) { final Iterator<DomNode> i = descendants.iterator(); <extra_id_0> while (i.hasNext()) { final DomNode e = i.next(); final DomNode ce = ci.next(); if (start == e) { startClone = ce; }