/src/main/java/org/htmlunit/html/HtmlSelect.java
option.setSelectedInternal( isSelected == selectedOption && option) ;
option.setSelectedInternal ( option == selectedOption && isSelected ) ;
else { setOnlySelected(selectedOption, isSelected); } } void setOnlySelected(final HtmlOption selectedOption, final boolean isSelected) { for (final HtmlOption option : getOptions()) { <extra_id_0> } } private static boolean isBetween(final int number, final int min, final int max) { return max > min ? number >= min && number <= max : number >= max && number <= min; } @Override