diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/cookie/ServerCookieDecoder.java b/codec-http/src/main/java/io/netty/handler/codec/http/cookie/ServerCookieDecoder.java index 6816b07967..397b37710d 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/cookie/ServerCookieDecoder.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/cookie/ServerCookieDecoder.java @@ -60,8 +60,8 @@ public final class ServerCookieDecoder extends CookieDecoder { } /** - * Decodes the specified Set-Cookie HTTP header value into a {@link Cookie}. Unlike {@link #decode(String)}, this - * includes all cookie values present, even if they have the same name. + * Decodes the specified {@code Cookie} HTTP header value into a {@link Cookie}. Unlike {@link #decode(String)}, + * this includes all cookie values present, even if they have the same name. * * @return the decoded {@link Cookie} */ @@ -72,7 +72,7 @@ public final class ServerCookieDecoder extends CookieDecoder { } /** - * Decodes the specified Set-Cookie HTTP header value into a {@link Cookie}. + * Decodes the specified {@code Cookie} HTTP header value into a {@link Cookie}. * * @return the decoded {@link Cookie} */ @@ -83,9 +83,7 @@ public final class ServerCookieDecoder extends CookieDecoder { } /** - * Decodes the specified Set-Cookie HTTP header value into a {@link Cookie}. - * - * @return the decoded {@link Cookie} + * Decodes the specified {@code Cookie} HTTP header value into a {@link Cookie}. */ private void decode(Collection cookies, String header) { final int headerLen = requireNonNull(header, "header").length();