mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ui: NPE in Show Usages renderer
This commit is contained in:
@@ -77,7 +77,7 @@ class ShowUsagesTableCellRenderer implements TableCellRenderer {
|
||||
textChunks.setBorder(null);
|
||||
|
||||
if (usage == null || usageNode instanceof ShowUsagesAction.StringNode) {
|
||||
textChunks.append(value.toString(), SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES);
|
||||
textChunks.append(value != null ? value.toString() : "", SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES);
|
||||
return textComponentSpanningWholeRow(textChunks, panelBackground, panelForeground, column, list, row);
|
||||
}
|
||||
if (usage == ShowUsagesAction.MORE_USAGES_SEPARATOR) {
|
||||
|
||||
Reference in New Issue
Block a user