From f0520dad20e82ddd0d8a80e24e34d7d2a35f0151 Mon Sep 17 00:00:00 2001 From: "Craig P. Motlin" Date: Sat, 12 Nov 2011 13:19:37 -0500 Subject: [PATCH] Remove unnecessary calls to 'super()'. --- .../org/jboss/netty/bootstrap/Bootstrap.java | 1 - .../netty/bootstrap/ClientBootstrap.java | 1 - .../bootstrap/ConnectionlessBootstrap.java | 1 - .../netty/bootstrap/ServerBootstrap.java | 1 - .../buffer/HeapChannelBufferFactory.java | 1 - .../netty/channel/AbstractChannelSink.java | 1 - .../jboss/netty/channel/ChannelException.java | 1 - .../ChannelHandlerLifeCycleException.java | 1 - .../channel/ChannelPipelineException.java | 1 - .../netty/channel/DefaultChannelPipeline.java | 1 - .../SimpleChannelDownstreamHandler.java | 1 - .../netty/channel/SimpleChannelHandler.java | 1 - .../channel/SimpleChannelUpstreamHandler.java | 1 - .../channel/local/LocalClientChannelSink.java | 1 - .../channel/local/LocalServerChannelSink.java | 1 - .../socket/http/HttpTunnelServerChannel.java | 1 - .../socket/http/ServerMessageSwitch.java | 1 - .../nio/NioClientSocketPipelineSink.java | 1 - .../socket/nio/NioDatagramChannel.java | 2 -- .../socket/nio/NioProviderMetadata.java | 1 - .../channel/socket/nio/NioSocketChannel.java | 2 -- .../socket/nio/SocketSendBufferPool.java | 2 -- .../compression/CompressionException.java | 1 - .../handler/codec/compression/ZlibUtil.java | 1 - .../codec/embedder/AbstractCodecEmbedder.java | 2 -- .../embedder/CodecEmbedderException.java | 1 - .../embedder/EmbeddedChannelFactory.java | 1 - .../codec/frame/CorruptedFrameException.java | 1 - .../codec/frame/TooLongFrameException.java | 1 - .../codec/http/CaseIgnoringComparator.java | 1 - .../handler/codec/http/HttpClientCodec.java | 1 - .../handler/codec/http/HttpCodecUtil.java | 1 - .../codec/http/HttpContentDecoder.java | 1 - .../codec/http/HttpContentEncoder.java | 1 - .../netty/handler/codec/http/HttpHeaders.java | 2 -- .../codec/http/HttpMessageEncoder.java | 1 - .../handler/codec/http/HttpPostBodyUtil.java | 1 - .../codec/http/HttpPostRequestDecoder.java | 3 --- .../codec/http/HttpPostRequestEncoder.java | 1 - .../codec/http/HttpRequestDecoder.java | 1 - .../codec/http/HttpRequestEncoder.java | 1 - .../codec/http/HttpResponseDecoder.java | 1 - .../codec/http/HttpResponseEncoder.java | 1 - .../handler/codec/oneone/OneToOneDecoder.java | 1 - .../handler/codec/oneone/OneToOneEncoder.java | 1 - .../ProtobufVarint32FrameDecoder.java | 1 - .../ProtobufVarint32LengthFieldPrepender.java | 1 - .../UnreplayableOperationException.java | 1 - .../netty/handler/codec/rtsp/RtspHeaders.java | 3 --- .../codec/rtsp/RtspMessageEncoder.java | 1 - .../netty/handler/codec/rtsp/RtspMethods.java | 1 - .../codec/rtsp/RtspRequestDecoder.java | 1 - .../codec/rtsp/RtspResponseDecoder.java | 1 - .../codec/rtsp/RtspResponseStatuses.java | 1 - .../handler/codec/rtsp/RtspVersions.java | 1 - .../MemoryAwareThreadPoolExecutor.java | 4 +--- .../OrderedMemoryAwareThreadPoolExecutor.java | 1 - .../handler/ipfilter/IpFilterRuleHandler.java | 1 - .../handler/ipfilter/IpFilterRuleList.java | 3 +-- .../handler/ipfilter/IpSubnetFilterRule.java | 3 +-- .../ipfilter/IpV4SubnetFilterRule.java | 3 +-- .../queue/BlockingReadTimeoutException.java | 1 - .../handler/timeout/IdleStateHandler.java | 1 - .../handler/timeout/ReadTimeoutException.java | 1 - .../handler/timeout/ReadTimeoutHandler.java | 1 - .../handler/timeout/TimeoutException.java | 1 - .../timeout/WriteTimeoutException.java | 1 - .../AbstractTrafficShapingHandler.java | 24 +++++++------------ .../netty/logging/AbstractInternalLogger.java | 1 - .../netty/util/ExternalResourceUtil.java | 1 - .../jboss/netty/util/HashedWheelTimer.java | 1 - .../util/internal/DeadLockProofWorker.java | 1 - .../netty/util/internal/ExecutorUtil.java | 1 - .../util/internal/LinkedTransferQueue.java | 1 - .../util/internal/ThreadLocalRandom.java | 1 - .../AbstractSocketServerBootstrapTest.java | 1 - .../channel/CompleteChannelFutureTest.java | 1 - .../socket/AbstractSocketEchoTest.java | 1 - .../NioServerSocketShutdownTimeTest.java | 1 - .../http/HttpTunnelServerChannelSinkTest.java | 1 - .../AbstractSocketFixedLengthEchoTest.java | 1 - .../codec/replay/ReplayingDecoderTest.java | 1 - ...tSocketCompatibleObjectStreamEchoTest.java | 1 - .../AbstractSocketObjectStreamEchoTest.java | 1 - .../string/AbstractSocketStringEchoTest.java | 1 - 85 files changed, 12 insertions(+), 114 deletions(-) diff --git a/src/main/java/org/jboss/netty/bootstrap/Bootstrap.java b/src/main/java/org/jboss/netty/bootstrap/Bootstrap.java index afb53a4e55..33d8380e87 100644 --- a/src/main/java/org/jboss/netty/bootstrap/Bootstrap.java +++ b/src/main/java/org/jboss/netty/bootstrap/Bootstrap.java @@ -60,7 +60,6 @@ public class Bootstrap implements ExternalResourceReleasable { * I/O operation is requested. */ protected Bootstrap() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/bootstrap/ClientBootstrap.java b/src/main/java/org/jboss/netty/bootstrap/ClientBootstrap.java index 788aca216c..7656230f78 100644 --- a/src/main/java/org/jboss/netty/bootstrap/ClientBootstrap.java +++ b/src/main/java/org/jboss/netty/bootstrap/ClientBootstrap.java @@ -118,7 +118,6 @@ public class ClientBootstrap extends Bootstrap { * operation is requested. */ public ClientBootstrap() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/bootstrap/ConnectionlessBootstrap.java b/src/main/java/org/jboss/netty/bootstrap/ConnectionlessBootstrap.java index 4f5d5b46e3..094fc68142 100644 --- a/src/main/java/org/jboss/netty/bootstrap/ConnectionlessBootstrap.java +++ b/src/main/java/org/jboss/netty/bootstrap/ConnectionlessBootstrap.java @@ -127,7 +127,6 @@ public class ConnectionlessBootstrap extends Bootstrap { * operation is requested. */ public ConnectionlessBootstrap() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/bootstrap/ServerBootstrap.java b/src/main/java/org/jboss/netty/bootstrap/ServerBootstrap.java index c915a3b9a0..e4a4feb1d1 100644 --- a/src/main/java/org/jboss/netty/bootstrap/ServerBootstrap.java +++ b/src/main/java/org/jboss/netty/bootstrap/ServerBootstrap.java @@ -170,7 +170,6 @@ public class ServerBootstrap extends Bootstrap { * operation is requested. */ public ServerBootstrap() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/buffer/HeapChannelBufferFactory.java b/src/main/java/org/jboss/netty/buffer/HeapChannelBufferFactory.java index 92904a38e3..7296f8b943 100644 --- a/src/main/java/org/jboss/netty/buffer/HeapChannelBufferFactory.java +++ b/src/main/java/org/jboss/netty/buffer/HeapChannelBufferFactory.java @@ -57,7 +57,6 @@ public class HeapChannelBufferFactory extends AbstractChannelBufferFactory { * {@link ByteOrder#BIG_ENDIAN}. */ public HeapChannelBufferFactory() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/channel/AbstractChannelSink.java b/src/main/java/org/jboss/netty/channel/AbstractChannelSink.java index 79c421efbb..2ff487379a 100644 --- a/src/main/java/org/jboss/netty/channel/AbstractChannelSink.java +++ b/src/main/java/org/jboss/netty/channel/AbstractChannelSink.java @@ -31,7 +31,6 @@ public abstract class AbstractChannelSink implements ChannelSink { * Creates a new instance. */ protected AbstractChannelSink() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/channel/ChannelException.java b/src/main/java/org/jboss/netty/channel/ChannelException.java index 295aa19d7a..1ad66dc68f 100644 --- a/src/main/java/org/jboss/netty/channel/ChannelException.java +++ b/src/main/java/org/jboss/netty/channel/ChannelException.java @@ -33,7 +33,6 @@ public class ChannelException extends RuntimeException { * Creates a new exception. */ public ChannelException() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/channel/ChannelHandlerLifeCycleException.java b/src/main/java/org/jboss/netty/channel/ChannelHandlerLifeCycleException.java index 458787aa57..a94017b2dc 100644 --- a/src/main/java/org/jboss/netty/channel/ChannelHandlerLifeCycleException.java +++ b/src/main/java/org/jboss/netty/channel/ChannelHandlerLifeCycleException.java @@ -35,7 +35,6 @@ public class ChannelHandlerLifeCycleException extends RuntimeException { * Creates a new exception. */ public ChannelHandlerLifeCycleException() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/channel/ChannelPipelineException.java b/src/main/java/org/jboss/netty/channel/ChannelPipelineException.java index 9bb88c74f9..4750298132 100644 --- a/src/main/java/org/jboss/netty/channel/ChannelPipelineException.java +++ b/src/main/java/org/jboss/netty/channel/ChannelPipelineException.java @@ -35,7 +35,6 @@ public class ChannelPipelineException extends ChannelException { * Creates a new instance. */ public ChannelPipelineException() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/channel/DefaultChannelPipeline.java b/src/main/java/org/jboss/netty/channel/DefaultChannelPipeline.java index bc6d391ea5..57adf425b6 100644 --- a/src/main/java/org/jboss/netty/channel/DefaultChannelPipeline.java +++ b/src/main/java/org/jboss/netty/channel/DefaultChannelPipeline.java @@ -817,7 +817,6 @@ public class DefaultChannelPipeline implements ChannelPipeline { private static final class DiscardingChannelSink implements ChannelSink { DiscardingChannelSink() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/channel/SimpleChannelDownstreamHandler.java b/src/main/java/org/jboss/netty/channel/SimpleChannelDownstreamHandler.java index 42b5fadae3..56ec90cda2 100644 --- a/src/main/java/org/jboss/netty/channel/SimpleChannelDownstreamHandler.java +++ b/src/main/java/org/jboss/netty/channel/SimpleChannelDownstreamHandler.java @@ -61,7 +61,6 @@ public class SimpleChannelDownstreamHandler implements ChannelDownstreamHandler * Creates a new instance. */ public SimpleChannelDownstreamHandler() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/channel/SimpleChannelHandler.java b/src/main/java/org/jboss/netty/channel/SimpleChannelHandler.java index b81610cce6..a269780604 100644 --- a/src/main/java/org/jboss/netty/channel/SimpleChannelHandler.java +++ b/src/main/java/org/jboss/netty/channel/SimpleChannelHandler.java @@ -85,7 +85,6 @@ public class SimpleChannelHandler implements ChannelUpstreamHandler, ChannelDown * Creates a new instance. */ public SimpleChannelHandler() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/channel/SimpleChannelUpstreamHandler.java b/src/main/java/org/jboss/netty/channel/SimpleChannelUpstreamHandler.java index c942b8e7d7..fe061e3fa8 100644 --- a/src/main/java/org/jboss/netty/channel/SimpleChannelUpstreamHandler.java +++ b/src/main/java/org/jboss/netty/channel/SimpleChannelUpstreamHandler.java @@ -65,7 +65,6 @@ public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler { * Creates a new instance. */ public SimpleChannelUpstreamHandler() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/channel/local/LocalClientChannelSink.java b/src/main/java/org/jboss/netty/channel/local/LocalClientChannelSink.java index 421d7238d2..2fecaeafc2 100644 --- a/src/main/java/org/jboss/netty/channel/local/LocalClientChannelSink.java +++ b/src/main/java/org/jboss/netty/channel/local/LocalClientChannelSink.java @@ -43,7 +43,6 @@ final class LocalClientChannelSink extends AbstractChannelSink { private static final InternalLogger logger = InternalLoggerFactory.getInstance(LocalClientChannelSink.class); LocalClientChannelSink() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/channel/local/LocalServerChannelSink.java b/src/main/java/org/jboss/netty/channel/local/LocalServerChannelSink.java index 6d3ed7730d..00e6eb1a7c 100644 --- a/src/main/java/org/jboss/netty/channel/local/LocalServerChannelSink.java +++ b/src/main/java/org/jboss/netty/channel/local/LocalServerChannelSink.java @@ -36,7 +36,6 @@ import org.jboss.netty.channel.MessageEvent; final class LocalServerChannelSink extends AbstractChannelSink { LocalServerChannelSink() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/channel/socket/http/HttpTunnelServerChannel.java b/src/main/java/org/jboss/netty/channel/socket/http/HttpTunnelServerChannel.java index 388d61b750..34d08efdee 100644 --- a/src/main/java/org/jboss/netty/channel/socket/http/HttpTunnelServerChannel.java +++ b/src/main/java/org/jboss/netty/channel/socket/http/HttpTunnelServerChannel.java @@ -103,7 +103,6 @@ public class HttpTunnelServerChannel extends AbstractServerChannel implements HttpTunnelAcceptedChannelFactory { TunnelCreator() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/channel/socket/http/ServerMessageSwitch.java b/src/main/java/org/jboss/netty/channel/socket/http/ServerMessageSwitch.java index 64cf9cbe08..c0225d0c1c 100644 --- a/src/main/java/org/jboss/netty/channel/socket/http/ServerMessageSwitch.java +++ b/src/main/java/org/jboss/netty/channel/socket/http/ServerMessageSwitch.java @@ -258,7 +258,6 @@ class ServerMessageSwitch implements ServerMessageSwitchUpstreamInterface, private static final class TunnelInfo { TunnelInfo() { - super(); } public String tunnelId; diff --git a/src/main/java/org/jboss/netty/channel/socket/nio/NioClientSocketPipelineSink.java b/src/main/java/org/jboss/netty/channel/socket/nio/NioClientSocketPipelineSink.java index 96bb3e751a..276dd2c929 100644 --- a/src/main/java/org/jboss/netty/channel/socket/nio/NioClientSocketPipelineSink.java +++ b/src/main/java/org/jboss/netty/channel/socket/nio/NioClientSocketPipelineSink.java @@ -173,7 +173,6 @@ class NioClientSocketPipelineSink extends AbstractChannelSink { private final Queue registerTaskQueue = new LinkedTransferQueue(); Boss() { - super(); } void register(NioClientSocketChannel channel) { diff --git a/src/main/java/org/jboss/netty/channel/socket/nio/NioDatagramChannel.java b/src/main/java/org/jboss/netty/channel/socket/nio/NioDatagramChannel.java index 724a1f44b9..b8b7cecf64 100644 --- a/src/main/java/org/jboss/netty/channel/socket/nio/NioDatagramChannel.java +++ b/src/main/java/org/jboss/netty/channel/socket/nio/NioDatagramChannel.java @@ -260,7 +260,6 @@ class NioDatagramChannel extends AbstractChannel private final ThreadLocalBoolean notifying = new ThreadLocalBoolean(); WriteRequestQueue() { - super(); } /** @@ -330,7 +329,6 @@ class NioDatagramChannel extends AbstractChannel */ private final class WriteTask implements Runnable { WriteTask() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/channel/socket/nio/NioProviderMetadata.java b/src/main/java/org/jboss/netty/channel/socket/nio/NioProviderMetadata.java index 8d794db33e..e1c966ee77 100644 --- a/src/main/java/org/jboss/netty/channel/socket/nio/NioProviderMetadata.java +++ b/src/main/java/org/jboss/netty/channel/socket/nio/NioProviderMetadata.java @@ -220,7 +220,6 @@ class NioProviderMetadata { private static final class ConstraintLevelAutodetector { ConstraintLevelAutodetector() { - super(); } int autodetect() { diff --git a/src/main/java/org/jboss/netty/channel/socket/nio/NioSocketChannel.java b/src/main/java/org/jboss/netty/channel/socket/nio/NioSocketChannel.java index 4e35bc17c8..f4142815ba 100644 --- a/src/main/java/org/jboss/netty/channel/socket/nio/NioSocketChannel.java +++ b/src/main/java/org/jboss/netty/channel/socket/nio/NioSocketChannel.java @@ -206,7 +206,6 @@ class NioSocketChannel extends AbstractChannel private final ThreadLocalBoolean notifying = new ThreadLocalBoolean(); WriteRequestQueue() { - super(); } @Override @@ -265,7 +264,6 @@ class NioSocketChannel extends AbstractChannel private final class WriteTask implements Runnable { WriteTask() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/channel/socket/nio/SocketSendBufferPool.java b/src/main/java/org/jboss/netty/channel/socket/nio/SocketSendBufferPool.java index 237d52451c..54e10cc0ff 100644 --- a/src/main/java/org/jboss/netty/channel/socket/nio/SocketSendBufferPool.java +++ b/src/main/java/org/jboss/netty/channel/socket/nio/SocketSendBufferPool.java @@ -42,7 +42,6 @@ final class SocketSendBufferPool { Preallocation current = new Preallocation(DEFAULT_PREALLOCATION_SIZE); SocketSendBufferPool() { - super(); } SendBuffer acquire(Object message) { @@ -316,7 +315,6 @@ final class SocketSendBufferPool { static final class EmptySendBuffer implements SendBuffer { EmptySendBuffer() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/compression/CompressionException.java b/src/main/java/org/jboss/netty/handler/codec/compression/CompressionException.java index bacce371ca..a939cccd5a 100644 --- a/src/main/java/org/jboss/netty/handler/codec/compression/CompressionException.java +++ b/src/main/java/org/jboss/netty/handler/codec/compression/CompressionException.java @@ -33,7 +33,6 @@ public class CompressionException extends RuntimeException { * Creates a new instance. */ public CompressionException() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/codec/compression/ZlibUtil.java b/src/main/java/org/jboss/netty/handler/codec/compression/ZlibUtil.java index d456c678d3..2f7c17a92e 100644 --- a/src/main/java/org/jboss/netty/handler/codec/compression/ZlibUtil.java +++ b/src/main/java/org/jboss/netty/handler/codec/compression/ZlibUtil.java @@ -58,6 +58,5 @@ final class ZlibUtil { } private ZlibUtil() { - super(); } } diff --git a/src/main/java/org/jboss/netty/handler/codec/embedder/AbstractCodecEmbedder.java b/src/main/java/org/jboss/netty/handler/codec/embedder/AbstractCodecEmbedder.java index b9e4d6c916..fd5b6d83aa 100644 --- a/src/main/java/org/jboss/netty/handler/codec/embedder/AbstractCodecEmbedder.java +++ b/src/main/java/org/jboss/netty/handler/codec/embedder/AbstractCodecEmbedder.java @@ -194,7 +194,6 @@ abstract class AbstractCodecEmbedder implements CodecEmbedder { private final class EmbeddedChannelSink implements ChannelSink, ChannelUpstreamHandler { EmbeddedChannelSink() { - super(); } @Override @@ -234,7 +233,6 @@ abstract class AbstractCodecEmbedder implements CodecEmbedder { private static final class EmbeddedChannelPipeline extends DefaultChannelPipeline { EmbeddedChannelPipeline() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/embedder/CodecEmbedderException.java b/src/main/java/org/jboss/netty/handler/codec/embedder/CodecEmbedderException.java index b49f90a550..7c82ad99ac 100644 --- a/src/main/java/org/jboss/netty/handler/codec/embedder/CodecEmbedderException.java +++ b/src/main/java/org/jboss/netty/handler/codec/embedder/CodecEmbedderException.java @@ -33,7 +33,6 @@ public class CodecEmbedderException extends RuntimeException { * Creates a new instance. */ public CodecEmbedderException() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/codec/embedder/EmbeddedChannelFactory.java b/src/main/java/org/jboss/netty/handler/codec/embedder/EmbeddedChannelFactory.java index 0bab97f296..ab0c2c3a9d 100644 --- a/src/main/java/org/jboss/netty/handler/codec/embedder/EmbeddedChannelFactory.java +++ b/src/main/java/org/jboss/netty/handler/codec/embedder/EmbeddedChannelFactory.java @@ -29,7 +29,6 @@ class EmbeddedChannelFactory implements ChannelFactory { static final ChannelFactory INSTANCE = new EmbeddedChannelFactory(); private EmbeddedChannelFactory() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/frame/CorruptedFrameException.java b/src/main/java/org/jboss/netty/handler/codec/frame/CorruptedFrameException.java index 7cf404b174..6be6cf415e 100644 --- a/src/main/java/org/jboss/netty/handler/codec/frame/CorruptedFrameException.java +++ b/src/main/java/org/jboss/netty/handler/codec/frame/CorruptedFrameException.java @@ -34,7 +34,6 @@ public class CorruptedFrameException extends Exception { * Creates a new instance. */ public CorruptedFrameException() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/codec/frame/TooLongFrameException.java b/src/main/java/org/jboss/netty/handler/codec/frame/TooLongFrameException.java index c1aa8439b8..2714685dfb 100644 --- a/src/main/java/org/jboss/netty/handler/codec/frame/TooLongFrameException.java +++ b/src/main/java/org/jboss/netty/handler/codec/frame/TooLongFrameException.java @@ -34,7 +34,6 @@ public class TooLongFrameException extends Exception { * Creates a new instance. */ public TooLongFrameException() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/codec/http/CaseIgnoringComparator.java b/src/main/java/org/jboss/netty/handler/codec/http/CaseIgnoringComparator.java index 9cc829b469..378dba00d5 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/CaseIgnoringComparator.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/CaseIgnoringComparator.java @@ -31,7 +31,6 @@ final class CaseIgnoringComparator implements Comparator, Serializable { static final CaseIgnoringComparator INSTANCE = new CaseIgnoringComparator(); private CaseIgnoringComparator() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpClientCodec.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpClientCodec.java index bd892656c2..15803c2e7e 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpClientCodec.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpClientCodec.java @@ -87,7 +87,6 @@ public class HttpClientCodec implements ChannelUpstreamHandler, private final class Encoder extends HttpRequestEncoder { Encoder() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpCodecUtil.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpCodecUtil.java index 98dd124854..ae178e6cc8 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpCodecUtil.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpCodecUtil.java @@ -72,7 +72,6 @@ class HttpCodecUtil { static final Charset DEFAULT_CHARSET = CharsetUtil.UTF_8; private HttpCodecUtil() { - super(); } static void validateHeaderName(String name) { diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpContentDecoder.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpContentDecoder.java index a322a71658..569cc2ecbe 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpContentDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpContentDecoder.java @@ -54,7 +54,6 @@ public abstract class HttpContentDecoder extends SimpleChannelUpstreamHandler { * Creates a new instance. */ protected HttpContentDecoder() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpContentEncoder.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpContentEncoder.java index c07855c9b9..a3ff8c662f 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpContentEncoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpContentEncoder.java @@ -61,7 +61,6 @@ public abstract class HttpContentEncoder extends SimpleChannelHandler { * Creates a new instance. */ protected HttpContentEncoder() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpHeaders.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpHeaders.java index 7e2f2c4b41..3181c89131 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpHeaders.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpHeaders.java @@ -310,7 +310,6 @@ public class HttpHeaders { public static final String WWW_AUTHENTICATE = "WWW-Authenticate"; private Names() { - super(); } } @@ -455,7 +454,6 @@ public class HttpHeaders { public static final String WEBSOCKET = "WebSocket"; private Values() { - super(); } } diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpMessageEncoder.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpMessageEncoder.java index 9ead3f1fea..4c88f1bf84 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpMessageEncoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpMessageEncoder.java @@ -59,7 +59,6 @@ public abstract class HttpMessageEncoder extends OneToOneEncoder { * Creates a new instance. */ protected HttpMessageEncoder() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpPostBodyUtil.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpPostBodyUtil.java index 67d582021a..f7390795d6 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpPostBodyUtil.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpPostBodyUtil.java @@ -119,7 +119,6 @@ public class HttpPostBodyUtil { } private HttpPostBodyUtil() { - super(); } //Some commons methods between HttpPostRequestDecoder and HttpMessageDecoder diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpPostRequestDecoder.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpPostRequestDecoder.java index 4bd451ea1e..bc411e87ed 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpPostRequestDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpPostRequestDecoder.java @@ -1397,7 +1397,6 @@ public class HttpPostRequestDecoder { * */ public NotEnoughDataDecoderException() { - super(); } /** @@ -1453,7 +1452,6 @@ public class HttpPostRequestDecoder { * */ public ErrorDataDecoderException() { - super(); } /** @@ -1495,7 +1493,6 @@ public class HttpPostRequestDecoder { * */ public IncompatibleDataDecoderException() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpPostRequestEncoder.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpPostRequestEncoder.java index 22a9c64abf..68890d59eb 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpPostRequestEncoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpPostRequestEncoder.java @@ -965,7 +965,6 @@ public class HttpPostRequestEncoder implements ChunkedInput { * */ public ErrorDataEncoderException() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpRequestDecoder.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpRequestDecoder.java index d61be33fd4..94ba63bdd1 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpRequestDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpRequestDecoder.java @@ -65,7 +65,6 @@ public class HttpRequestDecoder extends HttpMessageDecoder { * {@code maxChunkSize (8192)}. */ public HttpRequestDecoder() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpRequestEncoder.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpRequestEncoder.java index 0faa35b342..31f6bab2f3 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpRequestEncoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpRequestEncoder.java @@ -34,7 +34,6 @@ public class HttpRequestEncoder extends HttpMessageEncoder { * Creates a new instance. */ public HttpRequestEncoder() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpResponseDecoder.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpResponseDecoder.java index e793b31c55..ff6acc8b9b 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpResponseDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpResponseDecoder.java @@ -94,7 +94,6 @@ public class HttpResponseDecoder extends HttpMessageDecoder { * {@code maxChunkSize (8192)}. */ public HttpResponseDecoder() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpResponseEncoder.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpResponseEncoder.java index e1b4daa44e..ce5ec9a0fc 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpResponseEncoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpResponseEncoder.java @@ -34,7 +34,6 @@ public class HttpResponseEncoder extends HttpMessageEncoder { * Creates a new instance. */ public HttpResponseEncoder() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/oneone/OneToOneDecoder.java b/src/main/java/org/jboss/netty/handler/codec/oneone/OneToOneDecoder.java index 7f44b53fc4..e75a2e40bc 100644 --- a/src/main/java/org/jboss/netty/handler/codec/oneone/OneToOneDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/oneone/OneToOneDecoder.java @@ -57,7 +57,6 @@ public abstract class OneToOneDecoder implements ChannelUpstreamHandler { * Creates a new instance with the current system character set. */ protected OneToOneDecoder() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/oneone/OneToOneEncoder.java b/src/main/java/org/jboss/netty/handler/codec/oneone/OneToOneEncoder.java index b14af9779c..f99d47ba45 100644 --- a/src/main/java/org/jboss/netty/handler/codec/oneone/OneToOneEncoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/oneone/OneToOneEncoder.java @@ -51,7 +51,6 @@ import org.jboss.netty.handler.codec.frame.Delimiters; public abstract class OneToOneEncoder implements ChannelDownstreamHandler { protected OneToOneEncoder() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/protobuf/ProtobufVarint32FrameDecoder.java b/src/main/java/org/jboss/netty/handler/codec/protobuf/ProtobufVarint32FrameDecoder.java index bd67a91336..4befc0d812 100644 --- a/src/main/java/org/jboss/netty/handler/codec/protobuf/ProtobufVarint32FrameDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/protobuf/ProtobufVarint32FrameDecoder.java @@ -53,7 +53,6 @@ public class ProtobufVarint32FrameDecoder extends FrameDecoder { * Creates a new instance. */ public ProtobufVarint32FrameDecoder() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/protobuf/ProtobufVarint32LengthFieldPrepender.java b/src/main/java/org/jboss/netty/handler/codec/protobuf/ProtobufVarint32LengthFieldPrepender.java index eb4600f489..b5d3129fe2 100644 --- a/src/main/java/org/jboss/netty/handler/codec/protobuf/ProtobufVarint32LengthFieldPrepender.java +++ b/src/main/java/org/jboss/netty/handler/codec/protobuf/ProtobufVarint32LengthFieldPrepender.java @@ -52,7 +52,6 @@ public class ProtobufVarint32LengthFieldPrepender extends OneToOneEncoder { * Creates a new instance. */ public ProtobufVarint32LengthFieldPrepender() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/replay/UnreplayableOperationException.java b/src/main/java/org/jboss/netty/handler/codec/replay/UnreplayableOperationException.java index 3cbeb4c665..ba547feb6b 100644 --- a/src/main/java/org/jboss/netty/handler/codec/replay/UnreplayableOperationException.java +++ b/src/main/java/org/jboss/netty/handler/codec/replay/UnreplayableOperationException.java @@ -35,7 +35,6 @@ public class UnreplayableOperationException extends * Creates a new instance. */ public UnreplayableOperationException() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspHeaders.java b/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspHeaders.java index cb4e3c0c5f..206bd36821 100644 --- a/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspHeaders.java +++ b/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspHeaders.java @@ -218,7 +218,6 @@ public final class RtspHeaders { public static final String WWW_AUTHENTICATE = HttpHeaders.Names.WWW_AUTHENTICATE; private Names() { - super(); } } @@ -400,11 +399,9 @@ public final class RtspHeaders { public static final String URL = "url"; protected Values() { - super(); } } private RtspHeaders() { - super(); } } diff --git a/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspMessageEncoder.java b/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspMessageEncoder.java index 2ebee6f3d9..f9f0020a45 100644 --- a/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspMessageEncoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspMessageEncoder.java @@ -40,7 +40,6 @@ public abstract class RtspMessageEncoder extends HttpMessageEncoder { * Creates a new instance. */ protected RtspMessageEncoder() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspMethods.java b/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspMethods.java index 8437167dc7..3395c87076 100644 --- a/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspMethods.java +++ b/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspMethods.java @@ -141,6 +141,5 @@ public final class RtspMethods { } private RtspMethods() { - super(); } } diff --git a/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspRequestDecoder.java b/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspRequestDecoder.java index 2313e44c17..1fae71db12 100644 --- a/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspRequestDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspRequestDecoder.java @@ -61,7 +61,6 @@ public class RtspRequestDecoder extends RtspMessageDecoder { * {@code maxContentLength (8192)}. */ public RtspRequestDecoder() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspResponseDecoder.java b/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspResponseDecoder.java index 7f7dd15016..423dd687bb 100644 --- a/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspResponseDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspResponseDecoder.java @@ -62,7 +62,6 @@ public class RtspResponseDecoder extends RtspMessageDecoder { * {@code maxContentLength (8192)}. */ public RtspResponseDecoder() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspResponseStatuses.java b/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspResponseStatuses.java index c8d39871fd..208b0c6c57 100644 --- a/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspResponseStatuses.java +++ b/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspResponseStatuses.java @@ -295,6 +295,5 @@ public final class RtspResponseStatuses { } private RtspResponseStatuses() { - super(); } } diff --git a/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspVersions.java b/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspVersions.java index 48e1467cee..2e0180d4e0 100644 --- a/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspVersions.java +++ b/src/main/java/org/jboss/netty/handler/codec/rtsp/RtspVersions.java @@ -54,6 +54,5 @@ public final class RtspVersions { } private RtspVersions() { - super(); } } diff --git a/src/main/java/org/jboss/netty/handler/execution/MemoryAwareThreadPoolExecutor.java b/src/main/java/org/jboss/netty/handler/execution/MemoryAwareThreadPoolExecutor.java index d7714806c0..ca849d532a 100644 --- a/src/main/java/org/jboss/netty/handler/execution/MemoryAwareThreadPoolExecutor.java +++ b/src/main/java/org/jboss/netty/handler/execution/MemoryAwareThreadPoolExecutor.java @@ -500,7 +500,6 @@ public class MemoryAwareThreadPoolExecutor extends ThreadPoolExecutor { private static final class NewThreadRunsPolicy implements RejectedExecutionHandler { NewThreadRunsPolicy() { - super(); } @Override @@ -537,8 +536,7 @@ public class MemoryAwareThreadPoolExecutor extends ThreadPoolExecutor { private int waiters; Limiter(long limit) { - super(); - this.limit = limit; + this.limit = limit; } synchronized void increase(long amount) { diff --git a/src/main/java/org/jboss/netty/handler/execution/OrderedMemoryAwareThreadPoolExecutor.java b/src/main/java/org/jboss/netty/handler/execution/OrderedMemoryAwareThreadPoolExecutor.java index 52306b76bb..6d03fb029c 100644 --- a/src/main/java/org/jboss/netty/handler/execution/OrderedMemoryAwareThreadPoolExecutor.java +++ b/src/main/java/org/jboss/netty/handler/execution/OrderedMemoryAwareThreadPoolExecutor.java @@ -287,7 +287,6 @@ public class OrderedMemoryAwareThreadPoolExecutor extends private final LinkedList tasks = new LinkedList(); ChildExecutor() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/handler/ipfilter/IpFilterRuleHandler.java b/src/main/java/org/jboss/netty/handler/ipfilter/IpFilterRuleHandler.java index a9c35c5ebb..094af3d256 100644 --- a/src/main/java/org/jboss/netty/handler/ipfilter/IpFilterRuleHandler.java +++ b/src/main/java/org/jboss/netty/handler/ipfilter/IpFilterRuleHandler.java @@ -82,7 +82,6 @@ public class IpFilterRuleHandler extends IpFilteringHandlerImpl */ public IpFilterRuleHandler() { - super(); } // Below are methods directly inspired from CopyOnWriteArrayList methods diff --git a/src/main/java/org/jboss/netty/handler/ipfilter/IpFilterRuleList.java b/src/main/java/org/jboss/netty/handler/ipfilter/IpFilterRuleList.java index 6d2a249633..a75cf92db0 100644 --- a/src/main/java/org/jboss/netty/handler/ipfilter/IpFilterRuleList.java +++ b/src/main/java/org/jboss/netty/handler/ipfilter/IpFilterRuleList.java @@ -59,8 +59,7 @@ public class IpFilterRuleList extends ArrayList */ public IpFilterRuleList(String rules) { - super(); - parseRules(rules); + parseRules(rules); } private void parseRules(String rules) diff --git a/src/main/java/org/jboss/netty/handler/ipfilter/IpSubnetFilterRule.java b/src/main/java/org/jboss/netty/handler/ipfilter/IpSubnetFilterRule.java index e197ae1fff..70a82edcdb 100644 --- a/src/main/java/org/jboss/netty/handler/ipfilter/IpSubnetFilterRule.java +++ b/src/main/java/org/jboss/netty/handler/ipfilter/IpSubnetFilterRule.java @@ -39,8 +39,7 @@ public class IpSubnetFilterRule extends IpSubnet implements IpFilterRule */ public IpSubnetFilterRule(boolean allow) { - super(); - isAllowRule = allow; + isAllowRule = allow; } /** diff --git a/src/main/java/org/jboss/netty/handler/ipfilter/IpV4SubnetFilterRule.java b/src/main/java/org/jboss/netty/handler/ipfilter/IpV4SubnetFilterRule.java index 5705d97dcb..7d6f1c3aa6 100644 --- a/src/main/java/org/jboss/netty/handler/ipfilter/IpV4SubnetFilterRule.java +++ b/src/main/java/org/jboss/netty/handler/ipfilter/IpV4SubnetFilterRule.java @@ -36,8 +36,7 @@ public class IpV4SubnetFilterRule extends IpV4Subnet implements IpFilterRule */ public IpV4SubnetFilterRule(boolean allow) { - super(); - isAllowRule = allow; + isAllowRule = allow; } /** diff --git a/src/main/java/org/jboss/netty/handler/queue/BlockingReadTimeoutException.java b/src/main/java/org/jboss/netty/handler/queue/BlockingReadTimeoutException.java index 04d4b7ba84..d265e41a45 100644 --- a/src/main/java/org/jboss/netty/handler/queue/BlockingReadTimeoutException.java +++ b/src/main/java/org/jboss/netty/handler/queue/BlockingReadTimeoutException.java @@ -34,7 +34,6 @@ public class BlockingReadTimeoutException extends InterruptedIOException { * Creates a new instance. */ public BlockingReadTimeoutException() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/timeout/IdleStateHandler.java b/src/main/java/org/jboss/netty/handler/timeout/IdleStateHandler.java index 705a0bf1d0..6392949450 100644 --- a/src/main/java/org/jboss/netty/handler/timeout/IdleStateHandler.java +++ b/src/main/java/org/jboss/netty/handler/timeout/IdleStateHandler.java @@ -443,7 +443,6 @@ public class IdleStateHandler extends SimpleChannelUpstreamHandler private static final class State { State() { - super(); } volatile Timeout readerIdleTimeout; diff --git a/src/main/java/org/jboss/netty/handler/timeout/ReadTimeoutException.java b/src/main/java/org/jboss/netty/handler/timeout/ReadTimeoutException.java index fc8d0d4f95..6cf2f5152f 100644 --- a/src/main/java/org/jboss/netty/handler/timeout/ReadTimeoutException.java +++ b/src/main/java/org/jboss/netty/handler/timeout/ReadTimeoutException.java @@ -31,7 +31,6 @@ public class ReadTimeoutException extends TimeoutException { * Creates a new instance. */ public ReadTimeoutException() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/timeout/ReadTimeoutHandler.java b/src/main/java/org/jboss/netty/handler/timeout/ReadTimeoutHandler.java index 7b1d962c0c..486b0f22c2 100644 --- a/src/main/java/org/jboss/netty/handler/timeout/ReadTimeoutHandler.java +++ b/src/main/java/org/jboss/netty/handler/timeout/ReadTimeoutHandler.java @@ -259,7 +259,6 @@ public class ReadTimeoutHandler extends SimpleChannelUpstreamHandler volatile long lastReadTime = System.currentTimeMillis(); State() { - super(); } } } diff --git a/src/main/java/org/jboss/netty/handler/timeout/TimeoutException.java b/src/main/java/org/jboss/netty/handler/timeout/TimeoutException.java index 69410b8c79..82dfb2f884 100644 --- a/src/main/java/org/jboss/netty/handler/timeout/TimeoutException.java +++ b/src/main/java/org/jboss/netty/handler/timeout/TimeoutException.java @@ -33,7 +33,6 @@ public class TimeoutException extends ChannelException { * Creates a new instance. */ public TimeoutException() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/timeout/WriteTimeoutException.java b/src/main/java/org/jboss/netty/handler/timeout/WriteTimeoutException.java index de81778cee..9bdf89f20c 100644 --- a/src/main/java/org/jboss/netty/handler/timeout/WriteTimeoutException.java +++ b/src/main/java/org/jboss/netty/handler/timeout/WriteTimeoutException.java @@ -32,7 +32,6 @@ public class WriteTimeoutException extends TimeoutException { * Creates a new instance. */ public WriteTimeoutException() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/handler/traffic/AbstractTrafficShapingHandler.java b/src/main/java/org/jboss/netty/handler/traffic/AbstractTrafficShapingHandler.java index 6f4f4aaf52..f980dcf512 100644 --- a/src/main/java/org/jboss/netty/handler/traffic/AbstractTrafficShapingHandler.java +++ b/src/main/java/org/jboss/netty/handler/traffic/AbstractTrafficShapingHandler.java @@ -154,8 +154,7 @@ public abstract class AbstractTrafficShapingHandler extends */ public AbstractTrafficShapingHandler(Executor executor, long writeLimit, long readLimit, long checkInterval) { - super(); - init(new DefaultObjectSizeEstimator(), executor, writeLimit, readLimit, + init(new DefaultObjectSizeEstimator(), executor, writeLimit, readLimit, checkInterval); } @@ -178,8 +177,7 @@ public abstract class AbstractTrafficShapingHandler extends public AbstractTrafficShapingHandler( ObjectSizeEstimator objectSizeEstimator, Executor executor, long writeLimit, long readLimit, long checkInterval) { - super(); - init(objectSizeEstimator, executor, writeLimit, readLimit, + init(objectSizeEstimator, executor, writeLimit, readLimit, checkInterval); } @@ -195,8 +193,7 @@ public abstract class AbstractTrafficShapingHandler extends */ public AbstractTrafficShapingHandler(Executor executor, long writeLimit, long readLimit) { - super(); - init(new DefaultObjectSizeEstimator(), executor, writeLimit, readLimit, + init(new DefaultObjectSizeEstimator(), executor, writeLimit, readLimit, DEFAULT_CHECK_INTERVAL); } @@ -216,8 +213,7 @@ public abstract class AbstractTrafficShapingHandler extends public AbstractTrafficShapingHandler( ObjectSizeEstimator objectSizeEstimator, Executor executor, long writeLimit, long readLimit) { - super(); - init(objectSizeEstimator, executor, writeLimit, readLimit, + init(objectSizeEstimator, executor, writeLimit, readLimit, DEFAULT_CHECK_INTERVAL); } @@ -228,8 +224,7 @@ public abstract class AbstractTrafficShapingHandler extends * created for instance like Executors.newCachedThreadPool */ public AbstractTrafficShapingHandler(Executor executor) { - super(); - init(new DefaultObjectSizeEstimator(), executor, 0, 0, + init(new DefaultObjectSizeEstimator(), executor, 0, 0, DEFAULT_CHECK_INTERVAL); } @@ -244,8 +239,7 @@ public abstract class AbstractTrafficShapingHandler extends */ public AbstractTrafficShapingHandler( ObjectSizeEstimator objectSizeEstimator, Executor executor) { - super(); - init(objectSizeEstimator, executor, 0, 0, DEFAULT_CHECK_INTERVAL); + init(objectSizeEstimator, executor, 0, 0, DEFAULT_CHECK_INTERVAL); } /** @@ -258,8 +252,7 @@ public abstract class AbstractTrafficShapingHandler extends * channels or 0 if no stats are to be computed */ public AbstractTrafficShapingHandler(Executor executor, long checkInterval) { - super(); - init(new DefaultObjectSizeEstimator(), executor, 0, 0, checkInterval); + init(new DefaultObjectSizeEstimator(), executor, 0, 0, checkInterval); } /** @@ -277,8 +270,7 @@ public abstract class AbstractTrafficShapingHandler extends public AbstractTrafficShapingHandler( ObjectSizeEstimator objectSizeEstimator, Executor executor, long checkInterval) { - super(); - init(objectSizeEstimator, executor, 0, 0, checkInterval); + init(objectSizeEstimator, executor, 0, 0, checkInterval); } /** diff --git a/src/main/java/org/jboss/netty/logging/AbstractInternalLogger.java b/src/main/java/org/jboss/netty/logging/AbstractInternalLogger.java index 02437e1c15..84d6bb27d7 100644 --- a/src/main/java/org/jboss/netty/logging/AbstractInternalLogger.java +++ b/src/main/java/org/jboss/netty/logging/AbstractInternalLogger.java @@ -30,7 +30,6 @@ public abstract class AbstractInternalLogger implements InternalLogger { * Creates a new instance. */ protected AbstractInternalLogger() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/util/ExternalResourceUtil.java b/src/main/java/org/jboss/netty/util/ExternalResourceUtil.java index 1bbf823f19..cf154b7fad 100644 --- a/src/main/java/org/jboss/netty/util/ExternalResourceUtil.java +++ b/src/main/java/org/jboss/netty/util/ExternalResourceUtil.java @@ -45,6 +45,5 @@ public class ExternalResourceUtil { } private ExternalResourceUtil() { - super(); } } diff --git a/src/main/java/org/jboss/netty/util/HashedWheelTimer.java b/src/main/java/org/jboss/netty/util/HashedWheelTimer.java index 7c5f8114e8..53d056c65f 100644 --- a/src/main/java/org/jboss/netty/util/HashedWheelTimer.java +++ b/src/main/java/org/jboss/netty/util/HashedWheelTimer.java @@ -362,7 +362,6 @@ public class HashedWheelTimer implements Timer { private long tick; Worker() { - super(); } @Override diff --git a/src/main/java/org/jboss/netty/util/internal/DeadLockProofWorker.java b/src/main/java/org/jboss/netty/util/internal/DeadLockProofWorker.java index 1fc3f6ac3f..48593af238 100644 --- a/src/main/java/org/jboss/netty/util/internal/DeadLockProofWorker.java +++ b/src/main/java/org/jboss/netty/util/internal/DeadLockProofWorker.java @@ -51,6 +51,5 @@ public final class DeadLockProofWorker { } private DeadLockProofWorker() { - super(); } } diff --git a/src/main/java/org/jboss/netty/util/internal/ExecutorUtil.java b/src/main/java/org/jboss/netty/util/internal/ExecutorUtil.java index 08409b7f22..b6355fcfba 100644 --- a/src/main/java/org/jboss/netty/util/internal/ExecutorUtil.java +++ b/src/main/java/org/jboss/netty/util/internal/ExecutorUtil.java @@ -119,6 +119,5 @@ public class ExecutorUtil { } private ExecutorUtil() { - super(); } } diff --git a/src/main/java/org/jboss/netty/util/internal/LinkedTransferQueue.java b/src/main/java/org/jboss/netty/util/internal/LinkedTransferQueue.java index 8bbf3ae97d..57149985ca 100644 --- a/src/main/java/org/jboss/netty/util/internal/LinkedTransferQueue.java +++ b/src/main/java/org/jboss/netty/util/internal/LinkedTransferQueue.java @@ -1031,7 +1031,6 @@ public class LinkedTransferQueue extends AbstractQueue * Creates an initially empty {@code LinkedTransferQueue}. */ public LinkedTransferQueue() { - super(); } /** diff --git a/src/main/java/org/jboss/netty/util/internal/ThreadLocalRandom.java b/src/main/java/org/jboss/netty/util/internal/ThreadLocalRandom.java index 10832d306b..67529f3d20 100644 --- a/src/main/java/org/jboss/netty/util/internal/ThreadLocalRandom.java +++ b/src/main/java/org/jboss/netty/util/internal/ThreadLocalRandom.java @@ -90,7 +90,6 @@ final class ThreadLocalRandom extends Random { * invokes setSeed exactly once to initialize. */ ThreadLocalRandom() { - super(); } /** diff --git a/src/test/java/org/jboss/netty/bootstrap/AbstractSocketServerBootstrapTest.java b/src/test/java/org/jboss/netty/bootstrap/AbstractSocketServerBootstrapTest.java index 3740903678..3d7a5845b5 100644 --- a/src/test/java/org/jboss/netty/bootstrap/AbstractSocketServerBootstrapTest.java +++ b/src/test/java/org/jboss/netty/bootstrap/AbstractSocketServerBootstrapTest.java @@ -207,7 +207,6 @@ public abstract class AbstractSocketServerBootstrapTest { final StringBuffer result = new StringBuffer(); ParentChannelHandler() { - super(); } @Override diff --git a/src/test/java/org/jboss/netty/channel/CompleteChannelFutureTest.java b/src/test/java/org/jboss/netty/channel/CompleteChannelFutureTest.java index 7ac070df28..b94082f075 100644 --- a/src/test/java/org/jboss/netty/channel/CompleteChannelFutureTest.java +++ b/src/test/java/org/jboss/netty/channel/CompleteChannelFutureTest.java @@ -113,7 +113,6 @@ public class CompleteChannelFutureTest { private static final long serialVersionUID = 7059276744882005047L; ExpectedError() { - super(); } } } diff --git a/src/test/java/org/jboss/netty/channel/socket/AbstractSocketEchoTest.java b/src/test/java/org/jboss/netty/channel/socket/AbstractSocketEchoTest.java index da0040889f..0a5427a0ae 100644 --- a/src/test/java/org/jboss/netty/channel/socket/AbstractSocketEchoTest.java +++ b/src/test/java/org/jboss/netty/channel/socket/AbstractSocketEchoTest.java @@ -153,7 +153,6 @@ public abstract class AbstractSocketEchoTest { volatile int counter; EchoHandler() { - super(); } @Override diff --git a/src/test/java/org/jboss/netty/channel/socket/NioServerSocketShutdownTimeTest.java b/src/test/java/org/jboss/netty/channel/socket/NioServerSocketShutdownTimeTest.java index ddfb487d38..0b0338f762 100644 --- a/src/test/java/org/jboss/netty/channel/socket/NioServerSocketShutdownTimeTest.java +++ b/src/test/java/org/jboss/netty/channel/socket/NioServerSocketShutdownTimeTest.java @@ -97,7 +97,6 @@ public class NioServerSocketShutdownTimeTest { volatile boolean closed; DummyHandler() { - super(); } @Override diff --git a/src/test/java/org/jboss/netty/channel/socket/http/HttpTunnelServerChannelSinkTest.java b/src/test/java/org/jboss/netty/channel/socket/http/HttpTunnelServerChannelSinkTest.java index 57b0030703..3fb7dd9e9a 100644 --- a/src/test/java/org/jboss/netty/channel/socket/http/HttpTunnelServerChannelSinkTest.java +++ b/src/test/java/org/jboss/netty/channel/socket/http/HttpTunnelServerChannelSinkTest.java @@ -147,7 +147,6 @@ public class HttpTunnelServerChannelSinkTest { private final class ExceptionCatcher extends SimpleChannelUpstreamHandler { ExceptionCatcher() { - super(); } @Override diff --git a/src/test/java/org/jboss/netty/handler/codec/frame/AbstractSocketFixedLengthEchoTest.java b/src/test/java/org/jboss/netty/handler/codec/frame/AbstractSocketFixedLengthEchoTest.java index cca5dfd8f5..24cd4b148a 100644 --- a/src/test/java/org/jboss/netty/handler/codec/frame/AbstractSocketFixedLengthEchoTest.java +++ b/src/test/java/org/jboss/netty/handler/codec/frame/AbstractSocketFixedLengthEchoTest.java @@ -155,7 +155,6 @@ public abstract class AbstractSocketFixedLengthEchoTest { volatile int counter; EchoHandler() { - super(); } @Override diff --git a/src/test/java/org/jboss/netty/handler/codec/replay/ReplayingDecoderTest.java b/src/test/java/org/jboss/netty/handler/codec/replay/ReplayingDecoderTest.java index e18ed74c40..17ca8dba51 100644 --- a/src/test/java/org/jboss/netty/handler/codec/replay/ReplayingDecoderTest.java +++ b/src/test/java/org/jboss/netty/handler/codec/replay/ReplayingDecoderTest.java @@ -57,7 +57,6 @@ public class ReplayingDecoderTest { private static final class LineDecoder extends ReplayingDecoder { LineDecoder() { - super(); } @Override diff --git a/src/test/java/org/jboss/netty/handler/codec/serialization/AbstractSocketCompatibleObjectStreamEchoTest.java b/src/test/java/org/jboss/netty/handler/codec/serialization/AbstractSocketCompatibleObjectStreamEchoTest.java index 0aa8717dbf..cf987f4873 100644 --- a/src/test/java/org/jboss/netty/handler/codec/serialization/AbstractSocketCompatibleObjectStreamEchoTest.java +++ b/src/test/java/org/jboss/netty/handler/codec/serialization/AbstractSocketCompatibleObjectStreamEchoTest.java @@ -163,7 +163,6 @@ public abstract class AbstractSocketCompatibleObjectStreamEchoTest { volatile int counter; EchoHandler() { - super(); } @Override diff --git a/src/test/java/org/jboss/netty/handler/codec/serialization/AbstractSocketObjectStreamEchoTest.java b/src/test/java/org/jboss/netty/handler/codec/serialization/AbstractSocketObjectStreamEchoTest.java index 32c511d1b2..9260c861b9 100644 --- a/src/test/java/org/jboss/netty/handler/codec/serialization/AbstractSocketObjectStreamEchoTest.java +++ b/src/test/java/org/jboss/netty/handler/codec/serialization/AbstractSocketObjectStreamEchoTest.java @@ -162,7 +162,6 @@ public abstract class AbstractSocketObjectStreamEchoTest { volatile int counter; EchoHandler() { - super(); } @Override diff --git a/src/test/java/org/jboss/netty/handler/codec/string/AbstractSocketStringEchoTest.java b/src/test/java/org/jboss/netty/handler/codec/string/AbstractSocketStringEchoTest.java index 786200804a..a8c2c319e0 100644 --- a/src/test/java/org/jboss/netty/handler/codec/string/AbstractSocketStringEchoTest.java +++ b/src/test/java/org/jboss/netty/handler/codec/string/AbstractSocketStringEchoTest.java @@ -168,7 +168,6 @@ public abstract class AbstractSocketStringEchoTest { volatile int counter; EchoHandler() { - super(); } @Override