You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2017/08/17 22:27:11 UTC
logging-log4j2 git commit: Even simpler clear.
Repository: logging-log4j2
Updated Branches:
refs/heads/master fc3d4a6da -> 0404d5886
Even simpler clear.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/0404d588
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/0404d588
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/0404d588
Branch: refs/heads/master
Commit: 0404d58862dfa8c62621b9df1cfd399936cc433d
Parents: fc3d4a6
Author: Gary Gregory <ga...@gmail.com>
Authored: Thu Aug 17 16:26:05 2017 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Thu Aug 17 16:26:05 2017 -0600
----------------------------------------------------------------------
.../org/apache/logging/log4j/core/net/ssl/StoreConfiguration.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/0404d588/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/StoreConfiguration.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/StoreConfiguration.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/StoreConfiguration.java
index 9ad1221..ad0ed01 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/StoreConfiguration.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/StoreConfiguration.java
@@ -39,7 +39,7 @@ public class StoreConfiguration<T> {
*/
public void clearSecrets() {
this.location = null;
- Arrays.fill(password, '\u0000');
+ Arrays.fill(password, '\0');
this.password = null;
}