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:
parent
27a8e8db6e
commit
c21c472434
@ -41,7 +41,9 @@ public class CsvExporter implements Exporter {
|
||||
boolean printColumnHeader = true;
|
||||
|
||||
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user