commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Mommaerts (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-393) EqualsBuilder don't compare BigDecimals correctly
Date Thu, 02 Oct 2008 05:57:44 GMT

    [ https://issues.apache.org/jira/browse/LANG-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636289#action_12636289
] 

Nicolas Mommaerts commented on LANG-393:
----------------------------------------

@Matt: You are right, I should have mentioned that (java5). But don't  you think it should
be fixed now? It is not a compilation error but a runtime error, and it occurs for everyone
using Java 5 in their project while using this library.

> 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