Fixed bug where a blank row used to corrupt the whole project because it could not be re-loaded from file.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2248 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2011-09-19 10:36:38 +00:00
parent 9111157172
commit 82cc76f076

View File

@ -232,7 +232,7 @@ public class Row implements HasFields, Jsonizable {
}
}
return (cells.size() > 0) ? new Row(cells, flagged, starred) : null;
return (cells.size() > 0) ? new Row(cells, flagged, starred) : new Row(0);
}
@Override