mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Fixed possible npe of tabel.
This commit is contained in:
parent
dc3d6e7aa5
commit
97eae36ddf
1 changed files with 4 additions and 1 deletions
|
@ -155,8 +155,11 @@ public class Table implements Serializable {
|
|||
}
|
||||
|
||||
public String getDeckType() {
|
||||
if (validator != null) {
|
||||
return validator.getName();
|
||||
}
|
||||
return "<deckt type missing>";
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return new Date(createTime.getTime());
|
||||
|
|
Loading…
Reference in a new issue