You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@empire-db.apache.org by "Rainer Döbele (Jira)" <ji...@apache.org> on 2021/07/07 10:50:00 UTC

[jira] [Created] (EMPIREDB-357) StringUtils.compareEqual fails for arguments null + empty string

Rainer Döbele created EMPIREDB-357:
--------------------------------------

             Summary: StringUtils.compareEqual fails for arguments null + empty string
                 Key: EMPIREDB-357
                 URL: https://issues.apache.org/jira/browse/EMPIREDB-357
             Project: Empire-DB
          Issue Type: Bug
          Components: Core
            Reporter: Rainer Döbele
            Assignee: Rainer Döbele


StringUtils.compareEqual should return true if both arguments are empty strings with null being considered an empty string,

However if one argument is null and the other is an empty string the function returns false, which is not desired.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)