/src/main/java/org/htmlunit/html/HtmlSelect.java
if ( node instanceof HtmlOption) {   final HtmlOption option = ( ( HtmlOption) ( node) ) ;   if ( option.isSelected( ) ) {     doSelectOption( option, true, false, false, false) ;   } }
[Delete]
} } else { result = new ArrayList<>(1); HtmlOption lastSelected = null; for (final HtmlElement element : getHtmlElementDescendants()) { <extra_id_0> final HtmlOption option = (HtmlOption) element; if (option.isSelected()) { lastSelected = option; } } }