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 2EB30200D08 for ; Thu, 21 Sep 2017 21:01:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2D2141609E4; Thu, 21 Sep 2017 19:01:32 +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 722F61609DB for ; Thu, 21 Sep 2017 21:01:31 +0200 (CEST) Received: (qmail 19889 invoked by uid 500); 21 Sep 2017 19:01:30 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 19880 invoked by uid 99); 21 Sep 2017 19:01:30 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Sep 2017 19:01:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7E5D0E0AF6; Thu, 21 Sep 2017 19:01:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: busbey@apache.org To: commits@hbase.apache.org Message-Id: <573a42680a2e45eebfba257e4fd05bd1@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hbase git commit: HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch Protobuf internals as IA.Private Date: Thu, 21 Sep 2017 19:01:30 +0000 (UTC) archived-at: Thu, 21 Sep 2017 19:01:32 -0000 Repository: hbase Updated Branches: refs/heads/branch-2 0eab16fde -> c1f5122fa HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch Protobuf internals as IA.Private Signed-off-by: Michael Stack Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c1f5122f Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c1f5122f Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c1f5122f Branch: refs/heads/branch-2 Commit: c1f5122fab9d5fec52a7346ef71e0776fc3180f6 Parents: 0eab16f Author: Sean Busbey Authored: Thu Sep 21 09:57:39 2017 -0500 Committer: Sean Busbey Committed: Thu Sep 21 14:01:02 2017 -0500 ---------------------------------------------------------------------- .../main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/c1f5122f/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java ---------------------------------------------------------------------- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java index dbea5fb..cf04f92 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java @@ -56,6 +56,7 @@ public abstract class QuotaSettings { * This is used internally by the Admin client to serialize the quota settings * and send them to the master. */ + @InterfaceAudience.Private public static SetQuotaRequest buildSetQuotaRequestProto(final QuotaSettings settings) { SetQuotaRequest.Builder builder = SetQuotaRequest.newBuilder(); if (settings.getUserName() != null) { @@ -76,6 +77,7 @@ public abstract class QuotaSettings { * the subclass should implement this method to set the specific SetQuotaRequest * properties. */ + @InterfaceAudience.Private protected abstract void setupSetQuotaRequest(SetQuotaRequest.Builder builder); protected String ownerToString() {