Remove unused imports
This commit is contained in:
parent
480343e16e
commit
69e047ad2e
@ -257,8 +257,6 @@ class SctpChannelImpl extends AbstractChannel implements SctpChannel {
|
|||||||
|
|
||||||
private final class WriteRequestQueue extends AbstractWriteRequestQueue {
|
private final class WriteRequestQueue extends AbstractWriteRequestQueue {
|
||||||
|
|
||||||
private static final long serialVersionUID = -246694024103520626L;
|
|
||||||
|
|
||||||
private final ThreadLocalBoolean notifying = new ThreadLocalBoolean();
|
private final ThreadLocalBoolean notifying = new ThreadLocalBoolean();
|
||||||
|
|
||||||
WriteRequestQueue() {
|
WriteRequestQueue() {
|
||||||
|
@ -19,8 +19,6 @@ import io.netty.channel.ChannelEvent;
|
|||||||
import io.netty.channel.ChannelHandlerContext;
|
import io.netty.channel.ChannelHandlerContext;
|
||||||
import io.netty.channel.SimpleChannelHandler;
|
import io.netty.channel.SimpleChannelHandler;
|
||||||
import io.netty.channel.sctp.SctpNotificationEvent;
|
import io.netty.channel.sctp.SctpNotificationEvent;
|
||||||
import io.netty.logging.InternalLogger;
|
|
||||||
import io.netty.logging.InternalLoggerFactory;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SCTP Channel Handler (upstream + downstream) with SCTP notification handling
|
* SCTP Channel Handler (upstream + downstream) with SCTP notification handling
|
||||||
@ -28,10 +26,6 @@ import io.netty.logging.InternalLoggerFactory;
|
|||||||
|
|
||||||
public class SimpleSctpChannelHandler extends SimpleChannelHandler {
|
public class SimpleSctpChannelHandler extends SimpleChannelHandler {
|
||||||
|
|
||||||
private static final InternalLogger logger =
|
|
||||||
InternalLoggerFactory.getInstance(SimpleSctpUpstreamHandler.class.getName());
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent event) throws Exception {
|
public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent event) throws Exception {
|
||||||
if (!(event instanceof SctpNotificationEvent)) {
|
if (!(event instanceof SctpNotificationEvent)) {
|
||||||
|
@ -19,17 +19,12 @@ import io.netty.channel.ChannelEvent;
|
|||||||
import io.netty.channel.ChannelHandlerContext;
|
import io.netty.channel.ChannelHandlerContext;
|
||||||
import io.netty.channel.SimpleChannelUpstreamHandler;
|
import io.netty.channel.SimpleChannelUpstreamHandler;
|
||||||
import io.netty.channel.sctp.SctpNotificationEvent;
|
import io.netty.channel.sctp.SctpNotificationEvent;
|
||||||
import io.netty.logging.InternalLogger;
|
|
||||||
import io.netty.logging.InternalLoggerFactory;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SCTP Upstream Channel Handler with SCTP notification handling
|
* SCTP Upstream Channel Handler with SCTP notification handling
|
||||||
*/
|
*/
|
||||||
public class SimpleSctpUpstreamHandler extends SimpleChannelUpstreamHandler {
|
public class SimpleSctpUpstreamHandler extends SimpleChannelUpstreamHandler {
|
||||||
private static final InternalLogger logger =
|
|
||||||
InternalLoggerFactory.getInstance(SimpleSctpUpstreamHandler.class.getName());
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent event) throws Exception {
|
public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent event) throws Exception {
|
||||||
if (!(event instanceof SctpNotificationEvent)) {
|
if (!(event instanceof SctpNotificationEvent)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user