From: Martin Stockhammer Date: Thu, 29 Mar 2018 21:45:15 +0000 (+0200) Subject: Adding toString method X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8b790550b29f34a54ee36597029c9165ee0711ca;p=archiva.git Adding toString method --- diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/PasswordCredentials.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/PasswordCredentials.java index 97ed05cf4..61f60876e 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/PasswordCredentials.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/PasswordCredentials.java @@ -51,4 +51,9 @@ public class PasswordCredentials implements RepositoryCredentials { this.password = password; } + + @Override + public String toString() { + return "name="+username+",pwd=*****"; + } }