Uploaded image for project: 'Empire-DB'
  1. Empire-DB
  2. EMPIREDB-357

StringUtils.compareEqual fails for arguments null + empty string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • empire-db-2.5.1
    • Core
    • None

    Description

      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.

       

      Attachments

        Activity

          People

            doebele Rainer Döbele
            doebele Rainer Döbele
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: