void (@Nullable String text) { if (text != null) { changeNotes.setText(XmlStringUtil.wrapInHtml(text)); if (changeNotes.getCaret() != null) { changeNotes.setCaretPosition(0); } } changeNotes.setVisible(text != null); }