소스 검색

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

Arpit Agarwal 8 년 전
부모
커밋
9850cf07fa
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();
     }