if (show == null && showElement != null) { element.remove(showElement);
if (show == null) { if (showElement != null) { element.remove(showElement); }
    public void setShow(Show show) {        Element showElement = element.element("show");        // If show is null, clear the subject.        if (show == null && showElement != null) {            element.remove(showElement);            return;        }        if (showElement == null) {            if (!isAvailable()) {                throw new IllegalArgumentException("Cannot set 'show' if 'type' attribute is set.");            }            showElement = element.addElement("show");        }        showElement.setText(show.toString());    }