Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A27C117D01 for ; Thu, 9 Oct 2014 20:09:34 +0000 (UTC) Received: (qmail 73593 invoked by uid 500); 9 Oct 2014 20:09:34 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 73556 invoked by uid 500); 9 Oct 2014 20:09:34 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 73533 invoked by uid 99); 9 Oct 2014 20:09:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2014 20:09:34 +0000 Date: Thu, 9 Oct 2014 20:09:34 +0000 (UTC) From: "Mike Drob (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-3217) KeyValue doesn't implement equals or hashCode 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/ACCUMULO-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165655#comment-14165655 ] Mike Drob commented on ACCUMULO-3217: ------------------------------------- KeyValue extends SimpleImmutableEntry, which has equals and hashCode defined. ACCUMULO-2477 fixed this for at least master/1.7.0 > KeyValue doesn't implement equals or hashCode > --------------------------------------------- > > Key: ACCUMULO-3217 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3217 > Project: Accumulo > Issue Type: Bug > Components: client > Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1 > Reporter: Josh Elser > Assignee: Josh Elser > Priority: Critical > Fix For: 1.5.3, 1.6.2, 1.7.0 > > > KeyValue doesn't actually implement equals or hashCode which kind of sucks. > Notably, I can't take the Entry objects that I get from two scanners and check if they're equal. > This is a trivial fix to delegate down to the Key and Value equals methods. -- This message was sent by Atlassian JIRA (v6.3.4#6332)