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 2022/01/13 14:55:00 UTC

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

     [ https://issues.apache.org/jira/browse/EMPIREDB-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rainer Döbele resolved EMPIREDB-357.
------------------------------------
    Fix Version/s: empire-db-2.5.1
       Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: empire-db-2.5.1
>
>
> 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.20.1#820001)