[log] can happen during log initialization while the table is empty

=> don't log error, the situation is valid.
This commit is contained in:
Kirill Likhodedov
2014-02-10 17:21:35 +04:00
parent 58c879183e
commit c823985f21
@@ -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());