hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [2/2] hadoop git commit: HADOOP-14055. SwiftRestClient includes pass length in exception if auth fails. Contributed by Marcell Hegedus.
Date Fri, 10 Feb 2017 18:10:38 GMT
HADOOP-14055. SwiftRestClient includes pass length in exception if auth fails. Contributed
by Marcell Hegedus.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/c88ec545
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/c88ec545
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/c88ec545

Branch: refs/heads/branch-2
Commit: c88ec545888f2878b90aa9f34fb4149306a69a70
Parents: 7c3578c
Author: Arpit Agarwal <arp@apache.org>
Authored: Fri Feb 10 10:09:31 2017 -0800
Committer: Arpit Agarwal <arp@apache.org>
Committed: Fri Feb 10 10:09:39 2017 -0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/fs/swift/auth/PasswordCredentials.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c88ec545/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/auth/PasswordCredentials.java
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/auth/PasswordCredentials.java
b/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/auth/PasswordCredentials.java
index 3e65cb3..40d8c77 100644
--- a/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/auth/PasswordCredentials.java
+++ b/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/auth/PasswordCredentials.java
@@ -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 + "'}";
   }
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message