mirror of https://github.com/zlatinb/muwire
prevent NPE when browsed from an older host
parent
b0357f2ecd
commit
e94b7cb0d4
|
@ -40,7 +40,7 @@ class SharedFileView {
|
||||||
scrollPane(constraints : BorderLayout.CENTER) {
|
scrollPane(constraints : BorderLayout.CENTER) {
|
||||||
table(autoCreateRowSorter : true, rowHeight : rowHeight) {
|
table(autoCreateRowSorter : true, rowHeight : rowHeight) {
|
||||||
tableModel(list : model.searchers) {
|
tableModel(list : model.searchers) {
|
||||||
closureColumn(header : "Searcher", type : String, read : {it.searcher.getHumanReadableName()})
|
closureColumn(header : "Searcher", type : String, read : {it.searcher?.getHumanReadableName()})
|
||||||
closureColumn(header : "Query", type : String, read : {it.query})
|
closureColumn(header : "Query", type : String, read : {it.query})
|
||||||
closureColumn(header : "Timestamp", type : String, read : {
|
closureColumn(header : "Timestamp", type : String, read : {
|
||||||
Date d = new Date(it.timestamp)
|
Date d = new Date(it.timestamp)
|
||||||
|
|
Loading…
Reference in New Issue