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 "Rainer Döbele (JIRA)" <em...@incubator.apache.org> on 2017/07/25 10:15:00 UTC

[jira] [Created] (EMPIREDB-262) Add special enum handling to ObjectUtils.compareEqual function

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

             Summary: Add special enum handling to ObjectUtils.compareEqual function
                 Key: EMPIREDB-262
                 URL: https://issues.apache.org/jira/browse/EMPIREDB-262
             Project: Empire-DB
          Issue Type: Improvement
          Components: Core
            Reporter: Rainer Döbele
            Assignee: Rainer Döbele


ObjectUtils.compareEqual always returns false if one parameter is an enum type and the other one is not. The desired behavior is, that if the other parameter is numeric then the numeric value should be compared to the enum ordinal, otherwise the other parameter should be compared to the enum name.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)