Skip to content
Snippets Groups Projects
Commit 0c4edfbb authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Handle NULL in result objects

parent 97b3a98c
Branches
Tags
No related merge requests found
......@@ -142,7 +142,7 @@ public class DataTransformer {
data[row.intValue()][i] = null;
if(VIPSResultParameters[i] != null)
{
if(r.getAllValues().get(VIPSResultParameters[i]) != null)
if(r.getAllValues().get(VIPSResultParameters[i]) != null && ! r.getAllValues().get(VIPSResultParameters[i]).toLowerCase().equals("null"))
{
data[row.intValue()][i] = Double.valueOf(r.getAllValues().get(VIPSResultParameters[i]));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment