/src/main/java/org/htmlunit/html/HtmlSelect.java
final HtmlOption itemToSelect = allOptions.get( newIndex) ;
final HtmlOption itemToSelect = allOptions.get ( index ) ;
} if (index < 0) { return; } final List<HtmlOption> allOptions = getOptions(); if (index < allOptions.size()) { <extra_id_0> setSelectedAttribute(itemToSelect, true, false, true, false, true); } } public void ensureSelectedIndex() { if (getOptionSize() == 0) { setSelectedIndex(-1);