Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 72371 invoked from network); 29 Dec 2010 00:12:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Dec 2010 00:12:07 -0000 Received: (qmail 22681 invoked by uid 500); 29 Dec 2010 00:12:07 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 22587 invoked by uid 500); 29 Dec 2010 00:12:07 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 22579 invoked by uid 99); 29 Dec 2010 00:12:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Dec 2010 00:12:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Dec 2010 00:12:06 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBT0BkDE002635 for ; Wed, 29 Dec 2010 00:11:46 GMT Message-ID: <31916072.52721293581506418.JavaMail.jira@thor> Date: Tue, 28 Dec 2010 19:11:46 -0500 (EST) From: "stack (JIRA)" To: issues@hbase.apache.org Subject: [jira] Resolved: (HBASE-3387) Pair does not deep check arrays for equality. In-Reply-To: <4243779.274791293046021659.JavaMail.jira@thor> 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/HBASE-3387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-3387. -------------------------- Resolution: Fixed Committed to branch after tagging RC2 > Pair does not deep check arrays for equality. > ---------------------------------------------- > > Key: HBASE-3387 > URL: https://issues.apache.org/jira/browse/HBASE-3387 > Project: HBase > Issue Type: Bug > Components: util > Affects Versions: 0.90.1 > Environment: Any (discovered in Ubuntu 10.10 using TRUNK). > Reporter: Jesse Yates > Priority: Minor > Fix For: 0.90.1, 0.92.0 > > Attachments: HBASE-3387.patch > > Original Estimate: 0h > Remaining Estimate: 0h > > Pair does not deep check arrays for equality. It merely does x.equals(y) for the sent Object. However, with any type of array this is merely going to compare the array pointers, rather than the underlying data structure. > It requires a rewriting of the private equals method in Pair to check for elements being an array, then checking the underlying elements. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.