You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2021/01/07 17:10:52 UTC

[camel] branch master updated: polish

This is an automated email from the ASF dual-hosted git repository.

bvahdat pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 48282b1  polish
48282b1 is described below

commit 48282b1b29908a04736137879418f3245d421033
Author: Babak Vahdat <bv...@apache.org>
AuthorDate: Thu Jan 7 18:10:21 2021 +0100

    polish
---
 .../camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java b/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
index ae7691f..89923ba 100644
--- a/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
+++ b/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
@@ -23,12 +23,11 @@ import java.util.Locale;
 import java.util.Set;
 
 public final class SensitiveUtils {
-    public static final Set<String> SENSITIVE_KEYS = new HashSet<>(
+    private static final Set<String> SENSITIVE_KEYS = new HashSet<>(
             Arrays.asList("passphrase", "password", "secretkey", "accesstoken", "clientsecret", "authorizationtoken",
                     "sasljaasconfig", "accesskey"));
 
     private SensitiveUtils() {
-
     }
 
     public static boolean containsSensitive(String text) {