From 0b95d0e3bbd9208db8283e54792387e714b3b28c Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Mon, 19 Jul 2010 20:41:18 +0000
Subject: [PATCH] minor: easier debugging

SVN: 17084
---
 .../generic/server/plugins/tasks/SimpleTableModelBuilder.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/plugins/tasks/SimpleTableModelBuilder.java b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/plugins/tasks/SimpleTableModelBuilder.java
index 03bc1c96c18..14b53d32801 100644
--- a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/plugins/tasks/SimpleTableModelBuilder.java
+++ b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/plugins/tasks/SimpleTableModelBuilder.java
@@ -171,7 +171,8 @@ public class SimpleTableModelBuilder
         DataTypeCode dataType = getDataTypeCodeFor(value);
         if (StringUtils.isNotBlank(value.toString()))
         {
-            header.setDataType(DataTypeUtils.getCompatibleDataType(headerDataType, dataType));
+            DataTypeCode compatibleDataType = DataTypeUtils.getCompatibleDataType(headerDataType, dataType);
+            header.setDataType(compatibleDataType);
         }
     }
 
-- 
GitLab