From f13a897bf7484f0bc512048e7a16f0d8f04cc238 Mon Sep 17 00:00:00 2001 From: Sean Busbey Date: Tue, 12 Mar 2019 23:26:30 -0500 Subject: [PATCH] HBASE-22044 Deprecate ByteBufferUtils; it will be IA.Private in HBase 3.0 --- .../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 deb667b672..a6fbaba1a5 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. -- 2.16.1