You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2021/02/25 09:47:49 UTC
[httpcomponents-client] branch master updated: Remove duplicated
conditional statement in ResponseProcessCookies
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git
The following commit(s) were added to refs/heads/master by this push:
new 8aea7da Remove duplicated conditional statement in ResponseProcessCookies
8aea7da is described below
commit 8aea7da1dfdef6b2bc9db50c8c39c476f5ef42d3
Author: leedonggyu <do...@nts-corp.com>
AuthorDate: Thu Feb 25 15:24:23 2021 +0900
Remove duplicated conditional statement in ResponseProcessCookies
---
.../org/apache/hc/client5/http/protocol/ResponseProcessCookies.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/protocol/ResponseProcessCookies.java b/httpclient5/src/main/java/org/apache/hc/client5/http/protocol/ResponseProcessCookies.java
index 6444303..a2d8459 100644
--- a/httpclient5/src/main/java/org/apache/hc/client5/http/protocol/ResponseProcessCookies.java
+++ b/httpclient5/src/main/java/org/apache/hc/client5/http/protocol/ResponseProcessCookies.java
@@ -116,9 +116,7 @@ public class ResponseProcessCookies implements HttpResponseInterceptor {
cookieStore.addCookie(cookie);
if (LOG.isDebugEnabled()) {
- if (LOG.isDebugEnabled()) {
- LOG.debug("{} Cookie accepted [{}]", exchangeId, formatCookie(cookie));
- }
+ LOG.debug("{} Cookie accepted [{}]", exchangeId, formatCookie(cookie));
}
} catch (final MalformedCookieException ex) {
if (LOG.isWarnEnabled()) {