Skip to content
Permalink
Browse files
Fix typo on cookie formatting method
  • Loading branch information
imbyungjun authored and ok2c committed Feb 16, 2021
1 parent f2e9ad3 commit c39117e366378c6e248329464707a0b115638860
Showing 1 changed file with 3 additions and 3 deletions.
@@ -117,12 +117,12 @@ private void processCookies(

if (LOG.isDebugEnabled()) {
if (LOG.isDebugEnabled()) {
LOG.debug("{} Cookie accepted [{}]", exchangeId, formatCooke(cookie));
LOG.debug("{} Cookie accepted [{}]", exchangeId, formatCookie(cookie));
}
}
} catch (final MalformedCookieException ex) {
if (LOG.isWarnEnabled()) {
LOG.warn("{} Cookie rejected [{}] {}", exchangeId, formatCooke(cookie), ex.getMessage());
LOG.warn("{} Cookie rejected [{}] {}", exchangeId, formatCookie(cookie), ex.getMessage());
}
}
}
@@ -134,7 +134,7 @@ private void processCookies(
}
}

private static String formatCooke(final Cookie cookie) {
private static String formatCookie(final Cookie cookie) {
final StringBuilder buf = new StringBuilder();
buf.append(cookie.getName());
buf.append("=\"");

0 comments on commit c39117e

Please sign in to comment.