Merge pull request #915 from opendatatrentino/fixNullCellToString

Fixes Cell.toString failing on null value
This commit is contained in:
Tom Morris 2014-12-21 11:13:34 -05:00
commit 4eb6eb6eda

View File

@ -193,6 +193,10 @@ public class Cell implements HasFields, Jsonizable {
@Override @Override
public String toString() { public String toString() {
return value.toString(); if (value != null){
return value.toString();
} else {
return "null";
}
} }
} }