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 2018/10/19 10:01:00 UTC

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

     [ 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)