mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[log] can happen during log initialization while the table is empty
=> don't log error, the situation is valid.
This commit is contained in:
@@ -222,7 +222,6 @@ public class VcsLogGraphTable extends JBTable implements TypeSafeDataProvider, C
|
||||
public List<Change> getSelectedChanges() {
|
||||
TableModel model = getModel();
|
||||
if (!(model instanceof AbstractVcsLogTableModel)) {
|
||||
LOG.error("Unexpected table model passed to the VcsLogGraphTable: " + model);
|
||||
return null;
|
||||
}
|
||||
List<Change> changes = ((AbstractVcsLogTableModel)model).getSelectedChanges(sortSelectedRows());
|
||||
|
||||
Reference in New Issue
Block a user