From 2cb7991aeeaa1e13d92e68e6fcd9808e9b5f6599 Mon Sep 17 00:00:00 2001 From: Ruslan Sennov Date: Thu, 21 May 2015 07:04:46 +0300 Subject: [PATCH] QueryStringDecoder's javadoc fix --- .../io/netty/handler/codec/http/QueryStringDecoder.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/QueryStringDecoder.java b/codec-http/src/main/java/io/netty/handler/codec/http/QueryStringDecoder.java index 35fafa635f..fdffb2e217 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/QueryStringDecoder.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/QueryStringDecoder.java @@ -31,10 +31,10 @@ import java.util.Map; * This decoder is for one time use only. Create a new instance for each URI: *
  * {@link QueryStringDecoder} decoder = new {@link QueryStringDecoder}("/hello?recipient=world&x=1;y=2");
- * assert decoder.getPath().equals("/hello");
- * assert decoder.getParameters().get("recipient").get(0).equals("world");
- * assert decoder.getParameters().get("x").get(0).equals("1");
- * assert decoder.getParameters().get("y").get(0).equals("2");
+ * assert decoder.path().equals("/hello");
+ * assert decoder.parameters().get("recipient").get(0).equals("world");
+ * assert decoder.parameters().get("x").get(0).equals("1");
+ * assert decoder.parameters().get("y").get(0).equals("2");
  * 
* * This decoder can also decode the content of an HTTP POST request whose