Commit c4c65bbaebbe4636bf2b61b68b31b83810838317
1 parent
d646ff5b
Entity Data Query -> use emptu string instead of null for latest values
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -65,7 +65,7 @@ public class EntityDataAdapter { | @@ -65,7 +65,7 @@ public class EntityDataAdapter { | ||
65 | String strValue; | 65 | String strValue; |
66 | long ts; | 66 | long ts; |
67 | if (entityKey.getType().equals(EntityKeyType.ENTITY_FIELD)) { | 67 | if (entityKey.getType().equals(EntityKeyType.ENTITY_FIELD)) { |
68 | - strValue = value != null ? value.toString() : null; | 68 | + strValue = value != null ? value.toString() : ""; |
69 | ts = System.currentTimeMillis(); | 69 | ts = System.currentTimeMillis(); |
70 | } else { | 70 | } else { |
71 | strValue = convertValue(value); | 71 | strValue = convertValue(value); |
@@ -99,7 +99,7 @@ public class EntityDataAdapter { | @@ -99,7 +99,7 @@ public class EntityDataAdapter { | ||
99 | } | 99 | } |
100 | return strVal; | 100 | return strVal; |
101 | } else { | 101 | } else { |
102 | - return null; | 102 | + return ""; |
103 | } | 103 | } |
104 | } | 104 | } |
105 | 105 |