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 | 65 | String strValue; |
66 | 66 | long ts; |
67 | 67 | if (entityKey.getType().equals(EntityKeyType.ENTITY_FIELD)) { |
68 | - strValue = value != null ? value.toString() : null; | |
68 | + strValue = value != null ? value.toString() : ""; | |
69 | 69 | ts = System.currentTimeMillis(); |
70 | 70 | } else { |
71 | 71 | strValue = convertValue(value); |
... | ... | @@ -99,7 +99,7 @@ public class EntityDataAdapter { |
99 | 99 | } |
100 | 100 | return strVal; |
101 | 101 | } else { |
102 | - return null; | |
102 | + return ""; | |
103 | 103 | } |
104 | 104 | } |
105 | 105 | ... | ... |