Remove duplicated conditional statement in ResponseProcessCookies

This commit is contained in:
leedonggyu 2021-02-25 15:24:23 +09:00 committed by Oleg Kalnichevski
parent de5c6a237a
commit 8aea7da1df
1 changed files with 1 additions and 3 deletions

View File

@ -115,11 +115,9 @@ public class ResponseProcessCookies implements HttpResponseInterceptor {
cookieSpec.validate(cookie, cookieOrigin);
cookieStore.addCookie(cookie);
if (LOG.isDebugEnabled()) {
if (LOG.isDebugEnabled()) {
LOG.debug("{} Cookie accepted [{}]", exchangeId, formatCookie(cookie));
}
}
} catch (final MalformedCookieException ex) {
if (LOG.isWarnEnabled()) {
LOG.warn("{} Cookie rejected [{}] {}", exchangeId, formatCookie(cookie), ex.getMessage());