From cc0bdfb33ef638dfafe3185c92c7076d815e1c9b Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期六, 18 五月 2024 21:42:19 +0800
Subject: [PATCH] 代码优化
---
smart-starter-http/src/main/java/com/qianwen/core/http/HttpRequest.java | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/smart-starter-http/src/main/java/com/qianwen/core/http/HttpRequest.java b/smart-starter-http/src/main/java/com/qianwen/core/http/HttpRequest.java
index 41c9b9e..3416800 100644
--- a/smart-starter-http/src/main/java/com/qianwen/core/http/HttpRequest.java
+++ b/smart-starter-http/src/main/java/com/qianwen/core/http/HttpRequest.java
@@ -43,7 +43,6 @@
import com.qianwen.core.tool.utils.Exceptions;
import com.qianwen.core.tool.utils.Holder;
-/* loaded from: blade-starter-http-9.3.0.0-SNAPSHOT.jar:org/springblade/core/http/HttpRequest.class */
public class HttpRequest {
private static final String DEFAULT_USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36";
private static final MediaType APPLICATION_JSON = MediaType.parse("application/json;charset=UTF-8");
@@ -66,7 +65,7 @@
private CookieJar cookieJar;
@Nullable
private EventListener eventListener;
- private final List<Interceptor> interceptors = new ArrayList();
+ private final List<Interceptor> interceptors = new ArrayList<>();
@Nullable
private Authenticator authenticator;
@Nullable
--
Gitblit v1.9.3