Commit 0949036a authored by Matija Obreza's avatar Matija Obreza
Browse files

Respect column.isIncludeNull required for CROPNAME

parent 0d17cc34
......@@ -85,7 +85,12 @@ public class RowConverter {
_log.debug("val=" + ArrayUtils.toString(rowValue));
map.put(columnDef.getRdfTerm(), new ArrayList<String>(Arrays.asList((String[]) rowValue)));
} else {
map.put(columnDef.getRdfTerm(), rowValue);
if (rowValue != null || column.isIncludeNull()) {
_log.trace("Adding null value for " + columnDef.getRdfTerm());
map.put(columnDef.getRdfTerm(), rowValue);
} else {
_log.debug("Ignoring null value for " + columnDef.getRdfTerm());
}
}
} else if (mapValue instanceof List<?>) {
_log.debug("Adding " + columnDef.getRdfTerm() + " to List<?>" + " val=" + rowValue);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment