Remove duplicated conditional statement in ResponseProcessCookies
This commit is contained in:
parent
de5c6a237a
commit
8aea7da1df
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue