hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bus...@apache.org
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 GMT
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 <stack@apache.org>


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 <busbey@apache.org>
Authored: Thu Sep 21 09:57:39 2017 -0500
Committer: Sean Busbey <busbey@apache.org>
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() {


Mime
View raw message