Add toString support for null cells to help with debugging

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2271 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Tom Morris 2011-10-05 23:33:17 +00:00
parent 765fb4ea8e
commit 0ce0a0a8d3

View File

@ -239,7 +239,7 @@ public class Row implements HasFields, Jsonizable {
public String toString() { public String toString() {
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();
for (Cell cell : cells) { for (Cell cell : cells) {
result.append(cell.toString()); result.append(cell == null ? "null" : cell.toString());
result.append(","); result.append(",");
} }
return result.toString(); return result.toString();