Fix possible NPE in RecordedModelsTab

This commit is contained in:
0xboobface 2020-05-16 11:21:23 +02:00
parent b70626c2b7
commit 57125b4820
1 changed files with 1 additions and 1 deletions

View File

@ -798,7 +798,7 @@ public class RecordedModelsTab extends Tab implements TabSelectionListener {
TableCell<S, T> cell = new TableCell<>() {
@Override
protected void updateItem(Object item, boolean empty) {
setText(empty ? "" : item.toString());
setText(empty ? "" : Objects.toString(item));
}
};