diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/CookieDecoder.java b/codec-http/src/main/java/io/netty/handler/codec/http/CookieDecoder.java index 3923302b87..2f79ec3534 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/CookieDecoder.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/CookieDecoder.java @@ -31,7 +31,7 @@ import java.util.TreeSet; *
  * {@link HttpRequest} req = ...;
  * String value = req.getHeader("Cookie");
- * Set<{@link Cookie}> cookies = new {@link CookieDecoder}().decode(value);
+ * Set<{@link Cookie}> cookies = {@link CookieDecoder}.decode(value);
  * 
* * @see ClientCookieEncoder