commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LANG-393) EqualsBuilder don't compare BigDecimals correctly
Date Fri, 11 Jan 2008 06:17:34 GMT

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

Henri Yandell updated LANG-393:
-------------------------------

    Attachment: LANG-393.patch

Suggested fix.  How does this look?

> EqualsBuilder don't compare BigDecimals correctly 
> --------------------------------------------------
>
>                 Key: LANG-393
>                 URL: https://issues.apache.org/jira/browse/LANG-393
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Luis Henriques
>            Priority: Minor
>             Fix For: 2.4
>
>         Attachments: LANG-393.patch
>
>
> When comparing a BigDecimal, the comparing is made using equals, not compareTo, which
is more appropriate in the case of BigDecimal.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message