Correct variable name in code samples.
This commit is contained in:
parent
e83b5503da
commit
3d85d56631
@ -37,9 +37,9 @@ import org.jboss.netty.handler.codec.string.StringDecoder;
|
||||
* {@link DecoderEmbedder}<String> embedder = new {@link DecoderEmbedder}<String>(
|
||||
* new {@link Base64Decoder}(), new {@link StringDecoder}());
|
||||
*
|
||||
* embedded.offer(base64Data);
|
||||
* embedder.offer(base64Data);
|
||||
*
|
||||
* String decoded = embedded.poll();
|
||||
* String decoded = embedder.poll();
|
||||
* assert decoded.equals("foobar");
|
||||
* </pre>
|
||||
*
|
||||
|
@ -37,9 +37,9 @@ import org.jboss.netty.util.CharsetUtil;
|
||||
* {@link EncoderEmbedder}<{@link ChannelBuffer}> embedder = new {@link EncoderEmbedder}<{@link ChannelBuffer}>(
|
||||
* new {@link Base64Encoder}(), new {@link StringEncoder}());
|
||||
*
|
||||
* embedded.offer(data);
|
||||
* embedder.offer(data);
|
||||
*
|
||||
* {@link ChannelBuffer} encoded = embedded.poll();
|
||||
* {@link ChannelBuffer} encoded = embedder.poll();
|
||||
* assert encoded.toString({@link CharsetUtil}.US_ASCII).equals("Zm9vYmFy");
|
||||
* </pre>
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user