void (@NotNull JList<? extends String> list, @NlsSafe String value, int index, boolean selected, boolean hasFocus) { if (value == null) return; String trimmed = StringUtil.first(value, 50, true); if (value.equals(defaultChangelist)) { append(trimmed, selected ? SELECTED_BOLD_ATTRIBUTES : BOLD_ATTRIBUTES); } else { append(trimmed, selected ? SimpleTextAttributes.SELECTED_SIMPLE_CELL_ATTRIBUTES : SimpleTextAttributes.SIMPLE_CELL_ATTRIBUTES); } }