Remove unnecessary calls to 'super()'.

This commit is contained in:
Craig P. Motlin 2011-11-12 13:19:37 -05:00
parent 9b9ee79f27
commit f0520dad20
85 changed files with 12 additions and 114 deletions

View File

@ -60,7 +60,6 @@ public class Bootstrap implements ExternalResourceReleasable {
* I/O operation is requested.
*/
protected Bootstrap() {
super();
}
/**

View File

@ -118,7 +118,6 @@ public class ClientBootstrap extends Bootstrap {
* operation is requested.
*/
public ClientBootstrap() {
super();
}
/**

View File

@ -127,7 +127,6 @@ public class ConnectionlessBootstrap extends Bootstrap {
* operation is requested.
*/
public ConnectionlessBootstrap() {
super();
}
/**

View File

@ -170,7 +170,6 @@ public class ServerBootstrap extends Bootstrap {
* operation is requested.
*/
public ServerBootstrap() {
super();
}
/**

View File

@ -57,7 +57,6 @@ public class HeapChannelBufferFactory extends AbstractChannelBufferFactory {
* {@link ByteOrder#BIG_ENDIAN}.
*/
public HeapChannelBufferFactory() {
super();
}
/**

View File

@ -31,7 +31,6 @@ public abstract class AbstractChannelSink implements ChannelSink {
* Creates a new instance.
*/
protected AbstractChannelSink() {
super();
}
/**

View File

@ -33,7 +33,6 @@ public class ChannelException extends RuntimeException {
* Creates a new exception.
*/
public ChannelException() {
super();
}
/**

View File

@ -35,7 +35,6 @@ public class ChannelHandlerLifeCycleException extends RuntimeException {
* Creates a new exception.
*/
public ChannelHandlerLifeCycleException() {
super();
}
/**

View File

@ -35,7 +35,6 @@ public class ChannelPipelineException extends ChannelException {
* Creates a new instance.
*/
public ChannelPipelineException() {
super();
}
/**

View File

@ -817,7 +817,6 @@ public class DefaultChannelPipeline implements ChannelPipeline {
private static final class DiscardingChannelSink implements ChannelSink {
DiscardingChannelSink() {
super();
}
@Override

View File

@ -61,7 +61,6 @@ public class SimpleChannelDownstreamHandler implements ChannelDownstreamHandler
* Creates a new instance.
*/
public SimpleChannelDownstreamHandler() {
super();
}
/**

View File

@ -85,7 +85,6 @@ public class SimpleChannelHandler implements ChannelUpstreamHandler, ChannelDown
* Creates a new instance.
*/
public SimpleChannelHandler() {
super();
}
/**

View File

@ -65,7 +65,6 @@ public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler {
* Creates a new instance.
*/
public SimpleChannelUpstreamHandler() {
super();
}
/**

View File

@ -43,7 +43,6 @@ final class LocalClientChannelSink extends AbstractChannelSink {
private static final InternalLogger logger = InternalLoggerFactory.getInstance(LocalClientChannelSink.class);
LocalClientChannelSink() {
super();
}
@Override

View File

@ -36,7 +36,6 @@ import org.jboss.netty.channel.MessageEvent;
final class LocalServerChannelSink extends AbstractChannelSink {
LocalServerChannelSink() {
super();
}
@Override

View File

@ -103,7 +103,6 @@ public class HttpTunnelServerChannel extends AbstractServerChannel implements
HttpTunnelAcceptedChannelFactory {
TunnelCreator() {
super();
}
@Override

View File

@ -258,7 +258,6 @@ class ServerMessageSwitch implements ServerMessageSwitchUpstreamInterface,
private static final class TunnelInfo {
TunnelInfo() {
super();
}
public String tunnelId;

View File

@ -173,7 +173,6 @@ class NioClientSocketPipelineSink extends AbstractChannelSink {
private final Queue<Runnable> registerTaskQueue = new LinkedTransferQueue<Runnable>();
Boss() {
super();
}
void register(NioClientSocketChannel channel) {

View File

@ -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

View File

@ -220,7 +220,6 @@ class NioProviderMetadata {
private static final class ConstraintLevelAutodetector {
ConstraintLevelAutodetector() {
super();
}
int autodetect() {

View File

@ -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

View File

@ -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

View File

@ -33,7 +33,6 @@ public class CompressionException extends RuntimeException {
* Creates a new instance.
*/
public CompressionException() {
super();
}
/**

View File

@ -58,6 +58,5 @@ final class ZlibUtil {
}
private ZlibUtil() {
super();
}
}

View File

@ -194,7 +194,6 @@ abstract class AbstractCodecEmbedder<E> implements CodecEmbedder<E> {
private final class EmbeddedChannelSink implements ChannelSink, ChannelUpstreamHandler {
EmbeddedChannelSink() {
super();
}
@Override
@ -234,7 +233,6 @@ abstract class AbstractCodecEmbedder<E> implements CodecEmbedder<E> {
private static final class EmbeddedChannelPipeline extends DefaultChannelPipeline {
EmbeddedChannelPipeline() {
super();
}
@Override

View File

@ -33,7 +33,6 @@ public class CodecEmbedderException extends RuntimeException {
* Creates a new instance.
*/
public CodecEmbedderException() {
super();
}
/**

View File

@ -29,7 +29,6 @@ class EmbeddedChannelFactory implements ChannelFactory {
static final ChannelFactory INSTANCE = new EmbeddedChannelFactory();
private EmbeddedChannelFactory() {
super();
}
@Override

View File

@ -34,7 +34,6 @@ public class CorruptedFrameException extends Exception {
* Creates a new instance.
*/
public CorruptedFrameException() {
super();
}
/**

View File

@ -34,7 +34,6 @@ public class TooLongFrameException extends Exception {
* Creates a new instance.
*/
public TooLongFrameException() {
super();
}
/**

View File

@ -31,7 +31,6 @@ final class CaseIgnoringComparator implements Comparator<String>, Serializable {
static final CaseIgnoringComparator INSTANCE = new CaseIgnoringComparator();
private CaseIgnoringComparator() {
super();
}
@Override

View File

@ -87,7 +87,6 @@ public class HttpClientCodec implements ChannelUpstreamHandler,
private final class Encoder extends HttpRequestEncoder {
Encoder() {
super();
}
@Override

View File

@ -72,7 +72,6 @@ class HttpCodecUtil {
static final Charset DEFAULT_CHARSET = CharsetUtil.UTF_8;
private HttpCodecUtil() {
super();
}
static void validateHeaderName(String name) {

View File

@ -54,7 +54,6 @@ public abstract class HttpContentDecoder extends SimpleChannelUpstreamHandler {
* Creates a new instance.
*/
protected HttpContentDecoder() {
super();
}
@Override

View File

@ -61,7 +61,6 @@ public abstract class HttpContentEncoder extends SimpleChannelHandler {
* Creates a new instance.
*/
protected HttpContentEncoder() {
super();
}
@Override

View File

@ -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();
}
}

View File

@ -59,7 +59,6 @@ public abstract class HttpMessageEncoder extends OneToOneEncoder {
* Creates a new instance.
*/
protected HttpMessageEncoder() {
super();
}
@Override

View File

@ -119,7 +119,6 @@ public class HttpPostBodyUtil {
}
private HttpPostBodyUtil() {
super();
}
//Some commons methods between HttpPostRequestDecoder and HttpMessageDecoder

View File

@ -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();
}
/**

View File

@ -965,7 +965,6 @@ public class HttpPostRequestEncoder implements ChunkedInput {
*
*/
public ErrorDataEncoderException() {
super();
}
/**

View File

@ -65,7 +65,6 @@ public class HttpRequestDecoder extends HttpMessageDecoder {
* {@code maxChunkSize (8192)}.
*/
public HttpRequestDecoder() {
super();
}
/**

View File

@ -34,7 +34,6 @@ public class HttpRequestEncoder extends HttpMessageEncoder {
* Creates a new instance.
*/
public HttpRequestEncoder() {
super();
}
@Override

View File

@ -94,7 +94,6 @@ public class HttpResponseDecoder extends HttpMessageDecoder {
* {@code maxChunkSize (8192)}.
*/
public HttpResponseDecoder() {
super();
}
/**

View File

@ -34,7 +34,6 @@ public class HttpResponseEncoder extends HttpMessageEncoder {
* Creates a new instance.
*/
public HttpResponseEncoder() {
super();
}
@Override

View File

@ -57,7 +57,6 @@ public abstract class OneToOneDecoder implements ChannelUpstreamHandler {
* Creates a new instance with the current system character set.
*/
protected OneToOneDecoder() {
super();
}
@Override

View File

@ -51,7 +51,6 @@ import org.jboss.netty.handler.codec.frame.Delimiters;
public abstract class OneToOneEncoder implements ChannelDownstreamHandler {
protected OneToOneEncoder() {
super();
}
@Override

View File

@ -53,7 +53,6 @@ public class ProtobufVarint32FrameDecoder extends FrameDecoder {
* Creates a new instance.
*/
public ProtobufVarint32FrameDecoder() {
super();
}
@Override

View File

@ -52,7 +52,6 @@ public class ProtobufVarint32LengthFieldPrepender extends OneToOneEncoder {
* Creates a new instance.
*/
public ProtobufVarint32LengthFieldPrepender() {
super();
}
@Override

View File

@ -35,7 +35,6 @@ public class UnreplayableOperationException extends
* Creates a new instance.
*/
public UnreplayableOperationException() {
super();
}
/**

View File

@ -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();
}
}

View File

@ -40,7 +40,6 @@ public abstract class RtspMessageEncoder extends HttpMessageEncoder {
* Creates a new instance.
*/
protected RtspMessageEncoder() {
super();
}
@Override

View File

@ -141,6 +141,5 @@ public final class RtspMethods {
}
private RtspMethods() {
super();
}
}

View File

@ -61,7 +61,6 @@ public class RtspRequestDecoder extends RtspMessageDecoder {
* {@code maxContentLength (8192)}.
*/
public RtspRequestDecoder() {
super();
}
/**

View File

@ -62,7 +62,6 @@ public class RtspResponseDecoder extends RtspMessageDecoder {
* {@code maxContentLength (8192)}.
*/
public RtspResponseDecoder() {
super();
}
/**

View File

@ -295,6 +295,5 @@ public final class RtspResponseStatuses {
}
private RtspResponseStatuses() {
super();
}
}

View File

@ -54,6 +54,5 @@ public final class RtspVersions {
}
private RtspVersions() {
super();
}
}

View File

@ -500,7 +500,6 @@ public class MemoryAwareThreadPoolExecutor extends ThreadPoolExecutor {
private static final class NewThreadRunsPolicy implements RejectedExecutionHandler {
NewThreadRunsPolicy() {
super();
}
@Override
@ -537,7 +536,6 @@ public class MemoryAwareThreadPoolExecutor extends ThreadPoolExecutor {
private int waiters;
Limiter(long limit) {
super();
this.limit = limit;
}

View File

@ -287,7 +287,6 @@ public class OrderedMemoryAwareThreadPoolExecutor extends
private final LinkedList<Runnable> tasks = new LinkedList<Runnable>();
ChildExecutor() {
super();
}
@Override

View File

@ -82,7 +82,6 @@ public class IpFilterRuleHandler extends IpFilteringHandlerImpl
*/
public IpFilterRuleHandler()
{
super();
}
// Below are methods directly inspired from CopyOnWriteArrayList methods

View File

@ -59,7 +59,6 @@ public class IpFilterRuleList extends ArrayList<IpFilterRule>
*/
public IpFilterRuleList(String rules)
{
super();
parseRules(rules);
}

View File

@ -39,7 +39,6 @@ public class IpSubnetFilterRule extends IpSubnet implements IpFilterRule
*/
public IpSubnetFilterRule(boolean allow)
{
super();
isAllowRule = allow;
}

View File

@ -36,7 +36,6 @@ public class IpV4SubnetFilterRule extends IpV4Subnet implements IpFilterRule
*/
public IpV4SubnetFilterRule(boolean allow)
{
super();
isAllowRule = allow;
}

View File

@ -34,7 +34,6 @@ public class BlockingReadTimeoutException extends InterruptedIOException {
* Creates a new instance.
*/
public BlockingReadTimeoutException() {
super();
}
/**

View File

@ -443,7 +443,6 @@ public class IdleStateHandler extends SimpleChannelUpstreamHandler
private static final class State {
State() {
super();
}
volatile Timeout readerIdleTimeout;

View File

@ -31,7 +31,6 @@ public class ReadTimeoutException extends TimeoutException {
* Creates a new instance.
*/
public ReadTimeoutException() {
super();
}
/**

View File

@ -259,7 +259,6 @@ public class ReadTimeoutHandler extends SimpleChannelUpstreamHandler
volatile long lastReadTime = System.currentTimeMillis();
State() {
super();
}
}
}

View File

@ -33,7 +33,6 @@ public class TimeoutException extends ChannelException {
* Creates a new instance.
*/
public TimeoutException() {
super();
}
/**

View File

@ -32,7 +32,6 @@ public class WriteTimeoutException extends TimeoutException {
* Creates a new instance.
*/
public WriteTimeoutException() {
super();
}
/**

View File

@ -154,7 +154,6 @@ public abstract class AbstractTrafficShapingHandler extends
*/
public AbstractTrafficShapingHandler(Executor executor, long writeLimit,
long readLimit, long checkInterval) {
super();
init(new DefaultObjectSizeEstimator(), executor, writeLimit, readLimit,
checkInterval);
}
@ -178,7 +177,6 @@ public abstract class AbstractTrafficShapingHandler extends
public AbstractTrafficShapingHandler(
ObjectSizeEstimator objectSizeEstimator, Executor executor,
long writeLimit, long readLimit, long checkInterval) {
super();
init(objectSizeEstimator, executor, writeLimit, readLimit,
checkInterval);
}
@ -195,7 +193,6 @@ public abstract class AbstractTrafficShapingHandler extends
*/
public AbstractTrafficShapingHandler(Executor executor, long writeLimit,
long readLimit) {
super();
init(new DefaultObjectSizeEstimator(), executor, writeLimit, readLimit,
DEFAULT_CHECK_INTERVAL);
}
@ -216,7 +213,6 @@ public abstract class AbstractTrafficShapingHandler extends
public AbstractTrafficShapingHandler(
ObjectSizeEstimator objectSizeEstimator, Executor executor,
long writeLimit, long readLimit) {
super();
init(objectSizeEstimator, executor, writeLimit, readLimit,
DEFAULT_CHECK_INTERVAL);
}
@ -228,7 +224,6 @@ public abstract class AbstractTrafficShapingHandler extends
* created for instance like Executors.newCachedThreadPool
*/
public AbstractTrafficShapingHandler(Executor executor) {
super();
init(new DefaultObjectSizeEstimator(), executor, 0, 0,
DEFAULT_CHECK_INTERVAL);
}
@ -244,7 +239,6 @@ public abstract class AbstractTrafficShapingHandler extends
*/
public AbstractTrafficShapingHandler(
ObjectSizeEstimator objectSizeEstimator, Executor executor) {
super();
init(objectSizeEstimator, executor, 0, 0, DEFAULT_CHECK_INTERVAL);
}
@ -258,7 +252,6 @@ 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);
}
@ -277,7 +270,6 @@ public abstract class AbstractTrafficShapingHandler extends
public AbstractTrafficShapingHandler(
ObjectSizeEstimator objectSizeEstimator, Executor executor,
long checkInterval) {
super();
init(objectSizeEstimator, executor, 0, 0, checkInterval);
}

View File

@ -30,7 +30,6 @@ public abstract class AbstractInternalLogger implements InternalLogger {
* Creates a new instance.
*/
protected AbstractInternalLogger() {
super();
}
@Override

View File

@ -45,6 +45,5 @@ public class ExternalResourceUtil {
}
private ExternalResourceUtil() {
super();
}
}

View File

@ -362,7 +362,6 @@ public class HashedWheelTimer implements Timer {
private long tick;
Worker() {
super();
}
@Override

View File

@ -51,6 +51,5 @@ public final class DeadLockProofWorker {
}
private DeadLockProofWorker() {
super();
}
}

View File

@ -119,6 +119,5 @@ public class ExecutorUtil {
}
private ExecutorUtil() {
super();
}
}

View File

@ -1031,7 +1031,6 @@ public class LinkedTransferQueue<E> extends AbstractQueue<E>
* Creates an initially empty {@code LinkedTransferQueue}.
*/
public LinkedTransferQueue() {
super();
}
/**

View File

@ -90,7 +90,6 @@ final class ThreadLocalRandom extends Random {
* invokes setSeed exactly once to initialize.
*/
ThreadLocalRandom() {
super();
}
/**

View File

@ -207,7 +207,6 @@ public abstract class AbstractSocketServerBootstrapTest {
final StringBuffer result = new StringBuffer();
ParentChannelHandler() {
super();
}
@Override

View File

@ -113,7 +113,6 @@ public class CompleteChannelFutureTest {
private static final long serialVersionUID = 7059276744882005047L;
ExpectedError() {
super();
}
}
}

View File

@ -153,7 +153,6 @@ public abstract class AbstractSocketEchoTest {
volatile int counter;
EchoHandler() {
super();
}
@Override

View File

@ -97,7 +97,6 @@ public class NioServerSocketShutdownTimeTest {
volatile boolean closed;
DummyHandler() {
super();
}
@Override

View File

@ -147,7 +147,6 @@ public class HttpTunnelServerChannelSinkTest {
private final class ExceptionCatcher extends SimpleChannelUpstreamHandler {
ExceptionCatcher() {
super();
}
@Override

View File

@ -155,7 +155,6 @@ public abstract class AbstractSocketFixedLengthEchoTest {
volatile int counter;
EchoHandler() {
super();
}
@Override

View File

@ -57,7 +57,6 @@ public class ReplayingDecoderTest {
private static final class LineDecoder extends ReplayingDecoder<VoidEnum> {
LineDecoder() {
super();
}
@Override

View File

@ -163,7 +163,6 @@ public abstract class AbstractSocketCompatibleObjectStreamEchoTest {
volatile int counter;
EchoHandler() {
super();
}
@Override

View File

@ -162,7 +162,6 @@ public abstract class AbstractSocketObjectStreamEchoTest {
volatile int counter;
EchoHandler() {
super();
}
@Override

View File

@ -168,7 +168,6 @@ public abstract class AbstractSocketStringEchoTest {
volatile int counter;
EchoHandler() {
super();
}
@Override