diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/io/crypto/tls/FileKeyStoreLoaderBuilderProvider.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/io/crypto/tls/FileKeyStoreLoaderBuilderProvider.java index 5ab672659f3e..bcaccfebea07 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/io/crypto/tls/FileKeyStoreLoaderBuilderProvider.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/io/crypto/tls/FileKeyStoreLoaderBuilderProvider.java @@ -18,7 +18,6 @@ package org.apache.hadoop.hbase.io.crypto.tls; import java.util.Objects; -import org.apache.yetus.audience.InterfaceAudience; /** * This file has been copied from the Apache ZooKeeper project. @@ -26,8 +25,7 @@ * "https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/main/java/org/apache/zookeeper/common/FileKeyStoreLoaderBuilderProvider.java">Base * revision */ -@InterfaceAudience.Private -public class FileKeyStoreLoaderBuilderProvider { +class FileKeyStoreLoaderBuilderProvider { /** * Returns a {@link FileKeyStoreLoader.Builder} that can build a loader which loads keys and certs * from files of the given {@link KeyStoreFileType}. diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/io/crypto/tls/KeyStoreFileType.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/io/crypto/tls/KeyStoreFileType.java index 851b68124236..915c74813bbf 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/io/crypto/tls/KeyStoreFileType.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/io/crypto/tls/KeyStoreFileType.java @@ -17,8 +17,6 @@ */ package org.apache.hadoop.hbase.io.crypto.tls; -import org.apache.yetus.audience.InterfaceAudience; - /** * This enum represents the file type of a KeyStore or TrustStore. Currently, JKS (Java keystore), * PEM, PKCS12, and BCFKS types are supported. @@ -28,8 +26,7 @@ * "https://github.com/apache/zookeeper/blob/c74658d398cdc1d207aa296cb6e20de00faec03e/zookeeper-server/src/main/java/org/apache/zookeeper/common/KeyStoreFileType.java">Base * revision */ -@InterfaceAudience.Private -public enum KeyStoreFileType { +enum KeyStoreFileType { JKS(".jks"), PEM(".pem"), PKCS12(".p12"),