Removed unnecessary empty lines in the program listing

This commit is contained in:
Trustin Lee 2010-01-14 03:38:43 +00:00
parent 1313ca5b17
commit e1c2c453c5

View File

@ -781,15 +781,13 @@ public class TimeDecoder extends &FrameDecoder; {
we should modify the &ChannelPipelineFactory; implementation in the
<classname>TimeClient</classname>:
</para>
<programlisting>
bootstrap.setPipelineFactory(new &ChannelPipelineFactory;() {
<programlisting> bootstrap.setPipelineFactory(new &ChannelPipelineFactory;() {
public &ChannelPipeline; getPipeline() {
return &Channels;.pipeline(
new TimeDecoder(),
new TimeClientHandler());
}
});
</programlisting>
});</programlisting>
<para>
If you are an adventurous person, you might want to try the
&ReplayingDecoder; which simplifies the decoder even more. You will