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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2a4a7fb621 [type:optimize] Optimize LogCollectUtils (#6191)
2a4a7fb621 is described below

commit 2a4a7fb6213e1740b3b7bdb66cb813e61dbe1b08
Author: ljh <[email protected]>
AuthorDate: Sun Sep 28 15:58:55 2025 +0800

    [type:optimize] Optimize LogCollectUtils (#6191)
    
    Co-authored-by: yuqianwei <qq120405>
    Co-authored-by: aias00 <[email protected]>
---
 .../apache/shenyu/plugin/logging/common/utils/LogCollectUtils.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-common/src/main/java/org/apache/shenyu/plugin/logging/common/utils/LogCollectUtils.java
 
b/shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-common/src/main/java/org/apache/shenyu/plugin/logging/common/utils/LogCollectUtils.java
index bffa35b784..4435a16000 100644
--- 
a/shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-common/src/main/java/org/apache/shenyu/plugin/logging/common/utils/LogCollectUtils.java
+++ 
b/shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-common/src/main/java/org/apache/shenyu/plugin/logging/common/utils/LogCollectUtils.java
@@ -17,13 +17,13 @@
 
 package org.apache.shenyu.plugin.logging.common.utils;
 
+import com.google.common.collect.Sets;
 import org.apache.shenyu.common.utils.JsonUtils;
 import org.springframework.http.HttpHeaders;
 
-import java.util.Arrays;
-import java.util.List;
 import java.util.Map;
 import java.util.Optional;
+import java.util.Set;
 import java.util.stream.Collectors;
 
 /**
@@ -31,7 +31,7 @@ import java.util.stream.Collectors;
  */
 public class LogCollectUtils {
 
-    private static final List<String> BINARY_TYPE_LIST = 
Arrays.asList("image", "multipart", "cbor",
+    private static final Set<String> BINARY_TYPE_LIST = 
Sets.newHashSet("image", "multipart", "cbor",
             "octet-stream", "pdf", "javascript", "css", "html");
 
     /**

Reply via email to