Correcting error introduced - column headers are now printed on exporting to CSV.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@901 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Iain Sproat 2010-05-29 04:56:27 +00:00
parent 27a8e8db6e
commit c21c472434

View File

@ -41,7 +41,9 @@ public class CsvExporter implements Exporter {
boolean printColumnHeader = true; boolean printColumnHeader = true;
if (options != null) { if (options != null) {
printColumnHeader = Boolean.parseBoolean(options.getProperty("printColumnHeader")); String printColHead = options.getProperty("printColumnHeader");
if(printColHead != null)
printColumnHeader = !printColHead.toLowerCase().equals("false");
} }
RowVisitor visitor = new RowVisitor() { RowVisitor visitor = new RowVisitor() {