فهرست منبع

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

Conflicts:
	hadoop-common-project/hadoop-common/CHANGES.txt

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1619516 13f79535-47bb-0310-9956-ffa450edef68
Alejandro Abdelnur 11 سال پیش
والد
کامیت
bb0a609e19

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

@@ -108,6 +108,9 @@ Release 2.6.0 - UNRELEASED
     HADOOP-10430. KeyProvider Metadata should have an optional description,
     there should be a method to retrieve the metadata from all keys. (tucu)
 
+    HADOOP-10431. Change visibility of KeyStore.Options getter methods to
+    public. (tucu)
+
   OPTIMIZATIONS
 
     HADOOP-10838. Byte array native checksumming. (James Thomas via 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;
     }
   }