You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2024/02/28 15:16:54 UTC

(hbase) branch master updated: HBASE-28321 Addendum change deprecation cycle

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

zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new a1f09d1bb80 HBASE-28321 Addendum change deprecation cycle
a1f09d1bb80 is described below

commit a1f09d1bb803c59da6440b8c562b9be3b8e65b38
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Wed Feb 28 23:12:11 2024 +0800

    HBASE-28321 Addendum change deprecation cycle
---
 .../src/main/java/org/apache/hadoop/hbase/security/SecurityInfo.java  | 3 +--
 .../hbase/security/provider/SaslClientAuthenticationProvider.java     | 4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/security/SecurityInfo.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/security/SecurityInfo.java
index a33f49573de..561b6931c05 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/security/SecurityInfo.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/security/SecurityInfo.java
@@ -97,8 +97,7 @@ public class SecurityInfo {
    * Although this class is IA.Private, we leak this class in
    * {@code SaslClientAuthenticationProvider}, so need to align with the deprecation cycle for that
    * class.
-   * @deprecated Since 2.5.8 and 2.6.0, will be removed in 4.0.0. Use {@link #getServerPrincipals()}
-   *             instead.
+   * @deprecated Since 2.6.0, will be removed in 4.0.0. Use {@link #getServerPrincipals()} instead.
    */
   @Deprecated
   public String getServerPrincipal() {
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/security/provider/SaslClientAuthenticationProvider.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/security/provider/SaslClientAuthenticationProvider.java
index 4e23247ca76..a1a22a70f0e 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/security/provider/SaslClientAuthenticationProvider.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/security/provider/SaslClientAuthenticationProvider.java
@@ -47,8 +47,8 @@ public interface SaslClientAuthenticationProvider extends SaslAuthenticationProv
 
   /**
    * Creates the SASL client instance for this authentication method.
-   * @deprecated Since 2.5.8 and 2.6.0. In our own code will not call this method any more,
-   *             customized authentication method should implement
+   * @deprecated Since 2.6.0. In our own code will not call this method any more, customized
+   *             authentication method should implement
    *             {@link #createClient(Configuration, InetAddress, String, Token, boolean, Map)}
    *             instead. Will be removed in 4.0.0.
    */