diff --git a/transport/src/main/java/io/netty/channel/ChannelHandlerAdapter.java b/transport/src/main/java/io/netty/channel/ChannelHandlerAdapter.java index 1520f50b32..86a834867d 100644 --- a/transport/src/main/java/io/netty/channel/ChannelHandlerAdapter.java +++ b/transport/src/main/java/io/netty/channel/ChannelHandlerAdapter.java @@ -28,7 +28,7 @@ public abstract class ChannelHandlerAdapter implements ChannelHandler { * Return {@code true} if the implementation is {@link Sharable} and so can be added * to different {@link ChannelPipeline}s. */ - final boolean isSharable() { + public boolean isSharable() { return getClass().isAnnotationPresent(Sharable.class); }