Return-Path: X-Original-To: apmail-ofbiz-dev-archive@www.apache.org Delivered-To: apmail-ofbiz-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 144071759C for ; Sat, 21 Feb 2015 07:40:40 +0000 (UTC) Received: (qmail 24007 invoked by uid 500); 21 Feb 2015 07:39:21 -0000 Delivered-To: apmail-ofbiz-dev-archive@ofbiz.apache.org Received: (qmail 23959 invoked by uid 500); 21 Feb 2015 07:39:21 -0000 Mailing-List: contact dev-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list dev@ofbiz.apache.org Received: (qmail 23873 invoked by uid 99); 21 Feb 2015 07:39:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Feb 2015 07:39:21 +0000 Date: Sat, 21 Feb 2015 07:39:21 +0000 (UTC) From: "Sharan Foga (JIRA)" To: dev@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OFBIZ-5331) Change EntityComparisonOperator to use compareTo() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)