boolean (Format format, Comparator choicesComparator, Comparator<String> stringComparator) { if (stringComparator.equals(choicesComparator)) { choicesComparator = null; } boolean change = updateComparators(choicesComparator, stringComparator) || renderedContent; if (!change && (format != this.format)) { change = (this.format == null) || (format == null) || !this.format.equals(format); } if (change) { this.format = format; this.strComparator = stringComparator; renderedContent = false; clearContent(); } return change; }