Rename ChannelHandlerContext.type() to ChannelHandlerContext.types() as it return a Set

This commit is contained in:
Norman Maurer 2012-08-28 01:19:45 +02:00
parent ea3d304206
commit 100dd541ba
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ public interface ChannelHandlerContext
* The {@link ChannelHandler} that is bound this {@link ChannelHandlerContext}.
*/
ChannelHandler handler();
Set<ChannelHandlerType> type();
Set<ChannelHandlerType> types();
/**
* Return <code>true</code> if the {@link ChannelHandlerContext} has an {@link ByteBuf} bound for inbound

View File

@ -349,7 +349,7 @@ final class DefaultChannelHandlerContext extends DefaultAttributeMap implements
}
@Override
public Set<ChannelHandlerType> type() {
public Set<ChannelHandlerType> types() {
return type;
}