From cb8a607ba5b592752bb3712511cb03c83a82f9c9 Mon Sep 17 00:00:00 2001 From: David Dossot Date: Tue, 24 Mar 2015 14:15:40 -0700 Subject: [PATCH] Fix example in CookieDecoder Javadoc - CookieDecoder.decode() is a static method. --- .../main/java/io/netty/handler/codec/http/CookieDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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