HADOOP-14055. SwiftRestClient includes pass length in exception if auth fails. Contributed by Marcell Hegedus.

This commit is contained in:
Arpit Agarwal 2017-02-10 10:09:31 -08:00
parent 7c3578ca17
commit c88ec54588
1 changed files with 1 additions and 2 deletions

View File

@ -80,8 +80,7 @@ public class PasswordCredentials {
@Override
public String toString() {
return "user '" + username + '\'' +
" with password of length " + ((password == null) ? 0 : password.length());
return "PasswordCredentials{username='" + username + "'}";
}
}