From 69e047ad2eb3bfd04c43a0a69f18d44293c708b0 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Sat, 3 Mar 2012 19:36:12 +0100 Subject: [PATCH] Remove unused imports --- .../main/java/io/netty/channel/sctp/SctpChannelImpl.java | 2 -- .../channel/sctp/handler/SimpleSctpChannelHandler.java | 6 ------ .../channel/sctp/handler/SimpleSctpUpstreamHandler.java | 7 +------ 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/transport-sctp/src/main/java/io/netty/channel/sctp/SctpChannelImpl.java b/transport-sctp/src/main/java/io/netty/channel/sctp/SctpChannelImpl.java index e688963c6c..9bfd51e3a7 100644 --- a/transport-sctp/src/main/java/io/netty/channel/sctp/SctpChannelImpl.java +++ b/transport-sctp/src/main/java/io/netty/channel/sctp/SctpChannelImpl.java @@ -257,8 +257,6 @@ class SctpChannelImpl extends AbstractChannel implements SctpChannel { private final class WriteRequestQueue extends AbstractWriteRequestQueue { - private static final long serialVersionUID = -246694024103520626L; - private final ThreadLocalBoolean notifying = new ThreadLocalBoolean(); WriteRequestQueue() { diff --git a/transport-sctp/src/main/java/io/netty/channel/sctp/handler/SimpleSctpChannelHandler.java b/transport-sctp/src/main/java/io/netty/channel/sctp/handler/SimpleSctpChannelHandler.java index 1a14464999..910fd0093b 100644 --- a/transport-sctp/src/main/java/io/netty/channel/sctp/handler/SimpleSctpChannelHandler.java +++ b/transport-sctp/src/main/java/io/netty/channel/sctp/handler/SimpleSctpChannelHandler.java @@ -19,8 +19,6 @@ import io.netty.channel.ChannelEvent; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelHandler; 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 @@ -28,10 +26,6 @@ import io.netty.logging.InternalLoggerFactory; public class SimpleSctpChannelHandler extends SimpleChannelHandler { - private static final InternalLogger logger = - InternalLoggerFactory.getInstance(SimpleSctpUpstreamHandler.class.getName()); - - @Override public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent event) throws Exception { if (!(event instanceof SctpNotificationEvent)) { diff --git a/transport-sctp/src/main/java/io/netty/channel/sctp/handler/SimpleSctpUpstreamHandler.java b/transport-sctp/src/main/java/io/netty/channel/sctp/handler/SimpleSctpUpstreamHandler.java index cf69c86301..37c3696de4 100644 --- a/transport-sctp/src/main/java/io/netty/channel/sctp/handler/SimpleSctpUpstreamHandler.java +++ b/transport-sctp/src/main/java/io/netty/channel/sctp/handler/SimpleSctpUpstreamHandler.java @@ -19,17 +19,12 @@ import io.netty.channel.ChannelEvent; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelUpstreamHandler; import io.netty.channel.sctp.SctpNotificationEvent; -import io.netty.logging.InternalLogger; -import io.netty.logging.InternalLoggerFactory; /** * SCTP Upstream Channel Handler with SCTP notification handling */ public class SimpleSctpUpstreamHandler extends SimpleChannelUpstreamHandler { - private static final InternalLogger logger = - InternalLoggerFactory.getInstance(SimpleSctpUpstreamHandler.class.getName()); - - + @Override public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent event) throws Exception { if (!(event instanceof SctpNotificationEvent)) {