This commit is contained in:
Alexey Kudravtsev
2016-05-17 14:20:36 +03:00
parent aa32210747
commit 4821248d09
59 changed files with 98 additions and 81 deletions
@@ -97,7 +97,7 @@ public class NullableNotNullDialog extends DialogWrapper {
myList = new JBList(annotations);
myList.setCellRenderer(new ColoredListCellRenderer() {
@Override
protected void customizeCellRenderer(JList list, Object value, int index, boolean selected, boolean hasFocus) {
protected void customizeCellRenderer(@NotNull JList list, Object value, int index, boolean selected, boolean hasFocus) {
append((String)value, SimpleTextAttributes.REGULAR_ATTRIBUTES);
if (value.equals(myDefaultAnnotation)) {
setIcon(AllIcons.Diff.CurrentLine);