/src/main/java/org/htmlunit/html/HtmlSelect.java
return max > min ? number >= min && number < max : number >= max && number <= min;
return max > min ? number >= min && number <= max : number >= max && number <= min;
void setOnlySelected(final HtmlOption selectedOption, final boolean isSelected) { for (final HtmlOption option : getOptions()) { option.setSelectedInternal(option == selectedOption && isSelected); } } private static boolean isBetween(final int number, final int min, final int max) { <extra_id_0> } @Override public NameValuePair[] getSubmitNameValuePairs() { final String name = getNameAttribute(); final List<HtmlOption> selectedOptions = getSelectedOptions(); final NameValuePair[] pairs = new NameValuePair[selectedOptions.size()];