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 2019/03/13 18:40:21 UTC

[hbase] branch branch-2 updated: HBASE-22044 Deprecate ByteBufferUtils; it will be IA.Private in HBase 3.0

This is an automated email from the ASF dual-hosted git repository.

busbey pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 09f9fc7  HBASE-22044 Deprecate ByteBufferUtils; it will be IA.Private in HBase 3.0
09f9fc7 is described below

commit 09f9fc7c3e5021298d7cb7b518a1e542f7ff3a97
Author: Sean Busbey <bu...@apache.org>
AuthorDate: Tue Mar 12 23:26:30 2019 -0500

    HBASE-22044 Deprecate ByteBufferUtils; it will be IA.Private in HBase 3.0
    
    Signed-off-by: Andrew Purtell <ap...@apache.org>
---
 .../src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java
index deb667b..a6fbaba 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java
@@ -40,8 +40,10 @@ import org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesti
 /**
  * Utility functions for working with byte buffers, such as reading/writing
  * variable-length long numbers.
+ * @deprecated This class will become IA.Private in HBase 3.0. Downstream folks should avoid using it.
  */
 @SuppressWarnings("restriction")
+@Deprecated
 @InterfaceAudience.Public
 public final class ByteBufferUtils {
   // "Compressed integer" serialization helper constants.