You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by do...@apache.org on 2024/10/24 19:42:10 UTC

(empire-db) branch master updated: EMPIREDB-444 ValueUtils: small fix

This is an automated email from the ASF dual-hosted git repository.

doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git


The following commit(s) were added to refs/heads/master by this push:
     new 078b8a34 EMPIREDB-444 ValueUtils: small fix
078b8a34 is described below

commit 078b8a34bcbca8900adbb8f781217cf672944114
Author: Rainer Döbele <rd...@users.noreply.github.com>
AuthorDate: Thu Oct 24 21:42:07 2024 +0200

    EMPIREDB-444
    ValueUtils: small fix
---
 empire-db/src/main/java/org/apache/empire/commons/ValueUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/empire-db/src/main/java/org/apache/empire/commons/ValueUtils.java b/empire-db/src/main/java/org/apache/empire/commons/ValueUtils.java
index 9ab51dfe..e3bd611b 100644
--- a/empire-db/src/main/java/org/apache/empire/commons/ValueUtils.java
+++ b/empire-db/src/main/java/org/apache/empire/commons/ValueUtils.java
@@ -673,7 +673,7 @@ public class ValueUtils
             return value;
         // Strings special
         if ((value instanceof String) && ((String)value).length()==0)
-            value = null;
+            return null;
         // check option entry
         if (value instanceof OptionEntry)
         {   // option value