[
https://issues.apache.org/jira/browse/EMPIREDB-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rainer Döbele resolved EMPIREDB-262.
------------------------------------
Resolution: Fixed
Fix Version/s: empire-db-2.4.7
Special enum handling added to ObjectUtils.compareEqual()
> 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
> Priority: Major
> Fix For: empire-db-2.4.7
>
>
> 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
(v7.6.3#76005)