[jira] [Updated] (OFBIZ-5331) Change EntityComparisonOperator to use compareTo()

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-5331) Change EntityComparisonOperator to use compareTo()

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sharan Foga updated OFBIZ-5331:
-------------------------------
    Sprint: Bug Crush Event - 21/2/2015

> Change EntityComparisonOperator to use compareTo()
> --------------------------------------------------
>
>                 Key: OFBIZ-5331
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5331
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Joe Eckard
>            Assignee: Adam Heath
>            Priority: Trivial
>         Attachments: patch.txt
>
>
> The methods compareEqual() and compareNotEqual() both use equals() instead of compareTo() which can be problematic when used to compare BigDecimal objects.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)