Tables panel - check for null value of date finished.

This commit is contained in:
LevelX2 2013-07-06 15:15:20 +02:00
parent bb06591f53
commit 51e4caca19

View file

@ -851,7 +851,11 @@ class MatchesTableModel extends AbstractTableModel {
case 5:
return timeFormatter.format(matches[arg0].getStartTime());
case 6:
return timeFormatter.format(matches[arg0].getEndTime());
if (matches[arg0].getEndTime() != null) {
return timeFormatter.format(matches[arg0].getEndTime());
} else {
return "";
}
case 7:
return "None";
case 8: