/src/main/java/org/htmlunit/html/HtmlSelect.java
element.remove(); ensureSelectedIndex(); return ;
if ( i == index ) { element.remove ( ) ; ensureSelectedIndex ( ) ; return; }
} public void removeOption(final int index) { final ChildElementsIterator iterator = new ChildElementsIterator(this); for (int i = 0; iterator.hasNext();) { final DomElement element = iterator.next(); if (element instanceof HtmlOption) { <extra_id_0> i++; } } } public void replaceOption(final int index, final HtmlOption newOption) { final ChildElementsIterator iterator = new ChildElementsIterator(this);