This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch branch-2.3 in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.3 by this push: new e13aa84 HBASE-24050 Deprecated PBType on all 2.x branches (#1354) e13aa84 is described below commit e13aa84dfd336e4d47b9860bf7e7cd41d2fc696a Author: Duo Zhang <zhang...@apache.org> AuthorDate: Fri Mar 27 10:43:14 2020 +0800 HBASE-24050 Deprecated PBType on all 2.x branches (#1354) Signed-off-by: Jan Hentschel <jan.hentsc...@ultratendency.com> Signed-off-by: Viraj Jasani <vjas...@apache.org> --- .../src/main/java/org/apache/hadoop/hbase/types/PBType.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/types/PBType.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/types/PBType.java index eb67e71..60ad863 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/types/PBType.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/types/PBType.java @@ -25,9 +25,13 @@ import org.apache.hadoop.hbase.util.PositionedByteRange; import org.apache.yetus.audience.InterfaceAudience; /** - * A base-class for {@link DataType} implementations backed by protobuf. See - * {@code PBKeyValue} in {@code hbase-examples} module. + * A base-class for {@link DataType} implementations backed by protobuf. See {@code PBKeyValue} in + * {@code hbase-examples} module. + * @deprecated Will be removed in 3.0.0 without replacement. It should not be a public API as it + * exposes the protobuf stuff. Users who depend on this class should just copy the code + * your own code base. */ +@Deprecated @InterfaceAudience.Public public abstract class PBType<T extends Message> implements DataType<T> { @Override