Update the checkstyle rules

This commit is contained in:
Trustin Lee 2012-06-09 05:07:34 +09:00
parent a507ea97ef
commit 86cf144b8a
2 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,7 @@
package io.netty.example.echo; package io.netty.example.echo;
import io.netty.buffer.ChannelBuffer; import io.netty.buffer.ChannelBuffer;
import io.netty.channel.ChannelHandler.Sharable;
import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundStreamHandlerAdapter; import io.netty.channel.ChannelInboundStreamHandlerAdapter;
@ -25,6 +26,7 @@ import java.util.logging.Logger;
/** /**
* Handler implementation for the echo server. * Handler implementation for the echo server.
*/ */
@Sharable
public class EchoServerHandler extends ChannelInboundStreamHandlerAdapter { public class EchoServerHandler extends ChannelInboundStreamHandlerAdapter {
private static final Logger logger = Logger.getLogger( private static final Logger logger = Logger.getLogger(

View File

@ -315,7 +315,7 @@
<dependency> <dependency>
<groupId>${project.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>netty-build</artifactId> <artifactId>netty-build</artifactId>
<version>8</version> <version>9</version>
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>