Tighten up visibility

This commit is contained in:
Norman Maurer 2013-02-11 07:27:05 +01:00
parent 0e47fb50e2
commit 9228c97546
3 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ public class SctpInboundByteStreamHandler extends ChannelInboundMessageHandlerAd
}
@Override
public final boolean acceptInboundMessage(Object msg) throws Exception {
protected final boolean acceptInboundMessage(Object msg) throws Exception {
if (super.acceptInboundMessage(msg)) {
return acceptInboundMessage((SctpMessage) msg);
}

View File

@ -132,7 +132,7 @@ public abstract class ChannelInboundMessageHandlerAdapter<I>
*
* @param msg the message
*/
public boolean acceptInboundMessage(Object msg) throws Exception {
protected boolean acceptInboundMessage(Object msg) throws Exception {
return msgMatcher.match(msg);
}

View File

@ -176,7 +176,7 @@ public class DefaultChannelPipelineTest {
boolean called;
@Override
public boolean acceptInboundMessage(Object msg) throws Exception {
protected boolean acceptInboundMessage(Object msg) throws Exception {
called = true;
return super.acceptInboundMessage(msg);
}