Fixed Issue-116

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1243 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Stefano Mazzocchi 2010-08-31 19:33:05 +00:00
parent 7df259008b
commit e5c6dda178

View File

@ -56,8 +56,10 @@ public class CsvExporter implements Exporter{
} }
public boolean visit(Project project, int rowIndex, Row row) { public boolean visit(Project project, int rowIndex, Row row) {
String[] cols = new String[project.columnModel.columns.size()]; int size = project.columnModel.columns.size();
String[] vals = new String[row.cells.size()];
String[] cols = new String[size];
String[] vals = new String[size];
int i = 0; int i = 0;
for (Column col : project.columnModel.columns) { for (Column col : project.columnModel.columns) {