Tighten up visibility
This commit is contained in:
parent
0e47fb50e2
commit
9228c97546
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user