empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Döbele (JIRA) <empire-db-...@incubator.apache.org>
Subject [jira] [Created] (EMPIREDB-262) Add special enum handling to ObjectUtils.compareEqual function
Date Tue, 25 Jul 2017 10:15:00 GMT
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)

Mime
View raw message