Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 20C99200BB4 for ; Tue, 18 Oct 2016 04:01:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1E604160AF0; Tue, 18 Oct 2016 02:01:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8E4BD160AEC for ; Tue, 18 Oct 2016 04:01:06 +0200 (CEST) Received: (qmail 78902 invoked by uid 500); 18 Oct 2016 02:01:05 -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 78884 invoked by uid 99); 18 Oct 2016 02:01:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2016 02:01:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 828C52C4C78 for ; Tue, 18 Oct 2016 02:01:05 +0000 (UTC) Date: Tue, 18 Oct 2016 02:01:05 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16854) refactor the org.apache.hadoop.hbase.client.Action MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 18 Oct 2016 02:01:07 -0000 [ https://issues.apache.org/jira/browse/HBASE-16854?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D155= 84133#comment-15584133 ]=20 Ted Yu commented on HBASE-16854: -------------------------------- {code} 26=09public class TestAction { {code} Can the above be folded into existing test class ? > refactor the org.apache.hadoop.hbase.client.Action > -------------------------------------------------- > > Key: HBASE-16854 > URL: https://issues.apache.org/jira/browse/HBASE-16854 > Project: HBase > Issue Type: Improvement > Affects Versions: 2.0.0 > Reporter: ChiaPing Tsai > Assignee: ChiaPing Tsai > Priority: Minor > Fix For: 2.0.0 > > Attachments: HBASE-16854.v0.patch > > > a) According to the previous comments, the Action doesn=E2=80=99t apply t= he generic. > b) Action implements the Comparable, but the Action#compareTo cast the= object to Action. > For reasons outlined above, we should refactor the Action. -- This message was sent by Atlassian JIRA (v6.3.4#6332)