You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2017/09/21 19:00:46 UTC

hbase git commit: HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch Protobuf internals as IA.Private

Repository: hbase
Updated Branches:
  refs/heads/master a6c3c645f -> e39359986


HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch Protobuf internals as IA.Private

Signed-off-by: Michael Stack <st...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e3935998
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e3935998
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e3935998

Branch: refs/heads/master
Commit: e39359986c4765946cde30da2957324cb7c9705c
Parents: a6c3c64
Author: Sean Busbey <bu...@apache.org>
Authored: Thu Sep 21 09:57:39 2017 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Thu Sep 21 14:00:10 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/e3935998/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() {