mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Fixed a problem with NPE and match start. Chanes to handling of logging.
This commit is contained in:
parent
f670cb3977
commit
9c1f69983b
4 changed files with 18 additions and 15 deletions
|
|
@ -932,7 +932,11 @@ class MatchesTableModel extends AbstractTableModel {
|
|||
case 4:
|
||||
return matches[arg0].getResult();
|
||||
case 5:
|
||||
return timeFormatter.format(matches[arg0].getStartTime());
|
||||
if (matches[arg0].getStartTime() != null) {
|
||||
return timeFormatter.format(matches[arg0].getStartTime());
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
case 6:
|
||||
if (matches[arg0].getEndTime() != null) {
|
||||
return timeFormatter.format(matches[arg0].getEndTime());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue