Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 54240 invoked from network); 11 Jan 2008 06:18:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jan 2008 06:18:02 -0000 Received: (qmail 60443 invoked by uid 500); 11 Jan 2008 06:17:45 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 60303 invoked by uid 500); 11 Jan 2008 06:17:44 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 60283 invoked by uid 99); 11 Jan 2008 06:17:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 22:17:44 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2008 06:17:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 080BB714204 for ; Thu, 10 Jan 2008 22:17:34 -0800 (PST) Message-ID: <19867789.1200032254030.JavaMail.jira@brutus> Date: Thu, 10 Jan 2008 22:17:34 -0800 (PST) From: "Henri Yandell (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (LANG-393) EqualsBuilder don't compare BigDecimals correctly In-Reply-To: <17055025.1199368054116.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.