HDFS-9353. Code and comment mismatch in JavaKeyStoreProvider. (Andras Bokor)
This commit is contained in:
parent
745ba1160b
commit
ad653de2d7
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue