MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / basicRemove

Method basicRemove

src/main/java/org/htmlunit/html/HtmlOption.java:363–372  ·  view source on GitHub ↗

{@inheritDoc}

()

Source from the content-addressed store, hash-verified

361 * {@inheritDoc}
362 */
363 @Override
364 protected void basicRemove() {
365 final DomNode parent = getParentNode();
366 super.basicRemove();
367
368 if (parent != null && isSelected()) {
369 // update selection and size if needed
370 parent.onAllChildrenAddedToPage(false);
371 }
372 }
373}

Callers

nothing calls this directly

Calls 3

isSelectedMethod · 0.95
getParentNodeMethod · 0.45

Tested by

no test coverage detected