diff --git a/hutool-http/src/main/java/cn/hutool/http/cookie/GlobalCookieManager.java b/hutool-http/src/main/java/cn/hutool/http/cookie/GlobalCookieManager.java index 1acf5b182..a432452ce 100644 --- a/hutool-http/src/main/java/cn/hutool/http/cookie/GlobalCookieManager.java +++ b/hutool-http/src/main/java/cn/hutool/http/cookie/GlobalCookieManager.java @@ -1,5 +1,9 @@ package cn.hutool.http.cookie; +import cn.hutool.core.io.IORuntimeException; +import cn.hutool.core.util.URLUtil; +import cn.hutool.http.HttpConnection; + import java.io.IOException; import java.net.CookieManager; import java.net.CookiePolicy; @@ -7,11 +11,6 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import cn.hutool.core.io.IORuntimeException; -import cn.hutool.core.lang.Console; -import cn.hutool.core.util.URLUtil; -import cn.hutool.http.HttpConnection; - /** * 全局Cooki管理器,只针对Hutool请求有效 * @@ -57,7 +56,6 @@ public class GlobalCookieManager { Map> cookieHeader; try { - Console.log(URLUtil.toURI(conn.getUrl(), false)); cookieHeader = cookieManager.get(URLUtil.toURI(conn.getUrl()), new HashMap>(0)); } catch (IOException e) { throw new IORuntimeException(e);