forked from j62/ctbrec
Fix possible NPE in RecordedModelsTab
This commit is contained in:
parent
b70626c2b7
commit
57125b4820
|
@ -798,7 +798,7 @@ public class RecordedModelsTab extends Tab implements TabSelectionListener {
|
||||||
TableCell<S, T> cell = new TableCell<>() {
|
TableCell<S, T> cell = new TableCell<>() {
|
||||||
@Override
|
@Override
|
||||||
protected void updateItem(Object item, boolean empty) {
|
protected void updateItem(Object item, boolean empty) {
|
||||||
setText(empty ? "" : item.toString());
|
setText(empty ? "" : Objects.toString(item));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue