mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-32614 - CCE: TableRowSorter$ComparableComparator.compare & IDEA-78923 IntelliLang: ClassCastException at TableRowSorter$ComparableComparator.compare() on opening Settings
This commit is contained in:
@@ -86,7 +86,7 @@ public class TableView<Item> extends BaseTableView implements ItemsProvider, Sel
|
||||
final TableColumn column = getColumnModel().getColumn(i);
|
||||
// hack to get sort arrow included into the renderer component
|
||||
if (sorter != null && columnInfo.isSortable()) {
|
||||
sorter.setSortKeys(Collections.singletonList(new RowSorter.SortKey(0, SortOrder.ASCENDING)));
|
||||
sorter.setSortKeys(Collections.singletonList(new RowSorter.SortKey(i, SortOrder.ASCENDING)));
|
||||
}
|
||||
|
||||
final Component headerComponent = defaultRenderer == null? null :
|
||||
|
||||
Reference in New Issue
Block a user