1
0

Minor bug fixes found during testing

This commit is contained in:
Balaji Varadarajan
2018-08-03 16:40:58 -07:00
committed by vinoth chandar
parent 594059a19c
commit ea23c9b7a0
3 changed files with 6 additions and 4 deletions

View File

@@ -144,7 +144,8 @@ public class Table implements Iterable<List<String>> {
if (fieldNameToConverterMap.containsKey(fieldName)) {
return fieldNameToConverterMap.get(fieldName).apply(row.get(idx));
}
return row.get(idx).toString();
Object v = row.get(idx);
return v == null ? "null" : v.toString();
}).collect(Collectors.toList());
}).collect(Collectors.toList());
}