Преглед на файлове

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

Arpit Agarwal преди 8 години
родител
ревизия
d28c2d9f55
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ProviderUtils.java

+ 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();
     }