From c1f5122fab9d5fec52a7346ef71e0776fc3180f6 Mon Sep 17 00:00:00 2001 From: Sean Busbey Date: Thu, 21 Sep 2017 09:57:39 -0500 Subject: [PATCH] HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch Protobuf internals as IA.Private Signed-off-by: Michael Stack --- .../main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java | 2 ++ 1 file changed, 2 insertions(+) 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 dbea5fb653b..cf04f9266d0 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() {