Ver Fonte

HADOOP-10431. Change visibility of KeyStore.Options getter methods to public. (tucu)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1586732 13f79535-47bb-0310-9956-ffa450edef68
Alejandro Abdelnur há 11 anos atrás
pai
commit
51a2cec8c0

+ 2 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -317,6 +317,8 @@ Trunk (Unreleased)
 
     HADOOP-10488. TestKeyProviderFactory fails randomly. (tucu)
 
+    HADOOP-10431. Change visibility of KeyStore.Options getter methods to public. (tucu)
+
   OPTIMIZATIONS
 
     HADOOP-7761. Improve the performance of raw comparisons. (todd)

+ 3 - 3
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/KeyProvider.java

@@ -260,15 +260,15 @@ public abstract class KeyProvider {
       return this;
     }
 
-    protected String getCipher() {
+    public String getCipher() {
       return cipher;
     }
 
-    protected int getBitLength() {
+    public int getBitLength() {
       return bitLength;
     }
 
-    protected String getDescription() {
+    public String getDescription() {
       return description;
     }
   }