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

This commit is contained in:
Arpit Agarwal 2016-08-02 15:17:45 -07:00
parent 954465e7ba
commit d28c2d9f55
1 changed files with 0 additions and 2 deletions

View File

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