Store blank cells as nulls if that's what the user request

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

View File

@ -182,6 +182,8 @@ abstract public class TabularImportingParserBase extends ImportingParserBase {
rowHasData = true; rowHasData = true;
} else if (!storeBlankCellsAsNulls) { } else if (!storeBlankCellsAsNulls) {
row.setCell(column.getCellIndex(), new Cell("", null)); row.setCell(column.getCellIndex(), new Cell("", null));
} else {
row.setCell(column.getCellIndex(), null);
} }
} }