Przeglądaj źródła

HDFS-9353. Code and comment mismatch in JavaKeyStoreProvider. (Andras Bokor)

Arpit Agarwal 8 lat temu
rodzic
commit
9850cf07fa

+ 0 - 2
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ProviderUtils.java

@@ -212,8 +212,6 @@ public final class ProviderUtils {
   public static char[] locatePassword(String envWithPass, String fileWithPass)
       throws IOException {
     char[] pass = null;
-    // Get the password file from the conf, if not present from the user's
-    // environment var
     if (System.getenv().containsKey(envWithPass)) {
       pass = System.getenv(envWithPass).toCharArray();
     }