From 7a3d6ce28e8168f632fffac8217fab5de52d316d Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Wed, 26 Jul 2023 12:36:34 -0400 Subject: [PATCH] Legible `MaskingOutputStream.toString` --- .../plugins/credentialsbinding/masking/SecretPatterns.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/jenkinsci/plugins/credentialsbinding/masking/SecretPatterns.java b/src/main/java/org/jenkinsci/plugins/credentialsbinding/masking/SecretPatterns.java index f0a77fb2..5b0644ea 100644 --- a/src/main/java/org/jenkinsci/plugins/credentialsbinding/masking/SecretPatterns.java +++ b/src/main/java/org/jenkinsci/plugins/credentialsbinding/masking/SecretPatterns.java @@ -135,6 +135,10 @@ public MaskingOutputStream(@NonNull OutputStream out, @NonNull Supplier } } + @Override public String toString() { + return "MaskingOutputStream[" + out + "]"; + } + } private SecretPatterns() {}