You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2008/01/13 08:01:36 UTC
[jira] Closed: (LANG-393) EqualsBuilder don't compare BigDecimals
correctly
[ https://issues.apache.org/jira/browse/LANG-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell closed LANG-393.
------------------------------
Resolution: Fixed
svn ci -m "Applying my patch from LANG-393; EqualsBuilder uses compareTo for BigDecimal and not equals" src
Sending src/java/org/apache/commons/lang/builder/EqualsBuilder.java
Sending src/test/org/apache/commons/lang/builder/EqualsBuilderTest.java
Transmitting file data ..
Committed revision 611543.
> 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.