From 5c8c0f2903e6d4d2a2632268f8fc6569ae80f9b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Br=C3=A9gier?= Date: Sun, 20 May 2012 11:33:51 +0300 Subject: [PATCH] remove unecessary super() --- .../handler/traffic/AbstractTrafficShapingHandler.java | 8 -------- 1 file changed, 8 deletions(-) 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 5a8e2c6496..fe0fdd2ed3 100644 --- a/src/main/java/org/jboss/netty/handler/traffic/AbstractTrafficShapingHandler.java +++ b/src/main/java/org/jboss/netty/handler/traffic/AbstractTrafficShapingHandler.java @@ -149,7 +149,6 @@ public abstract class AbstractTrafficShapingHandler extends */ public AbstractTrafficShapingHandler(Timer timer, long writeLimit, long readLimit, long checkInterval) { - super(); init(new DefaultObjectSizeEstimator(), timer, writeLimit, readLimit, checkInterval); } @@ -172,7 +171,6 @@ public abstract class AbstractTrafficShapingHandler extends public AbstractTrafficShapingHandler( ObjectSizeEstimator objectSizeEstimator, Timer timer, long writeLimit, long readLimit, long checkInterval) { - super(); init(objectSizeEstimator, timer, writeLimit, readLimit, checkInterval); } @@ -188,7 +186,6 @@ public abstract class AbstractTrafficShapingHandler extends */ public AbstractTrafficShapingHandler(Timer timer, long writeLimit, long readLimit) { - super(); init(new DefaultObjectSizeEstimator(), timer, writeLimit, readLimit, DEFAULT_CHECK_INTERVAL); } @@ -208,7 +205,6 @@ public abstract class AbstractTrafficShapingHandler extends public AbstractTrafficShapingHandler( ObjectSizeEstimator objectSizeEstimator, Timer timer, long writeLimit, long readLimit) { - super(); init(objectSizeEstimator, timer, writeLimit, readLimit, DEFAULT_CHECK_INTERVAL); } @@ -219,7 +215,6 @@ public abstract class AbstractTrafficShapingHandler extends * created once for instance like HashedWheelTimer(10, TimeUnit.MILLISECONDS, 1024) */ public AbstractTrafficShapingHandler(Timer timer) { - super(); init(new DefaultObjectSizeEstimator(), timer, 0, 0, DEFAULT_CHECK_INTERVAL); } @@ -234,7 +229,6 @@ public abstract class AbstractTrafficShapingHandler extends */ public AbstractTrafficShapingHandler( ObjectSizeEstimator objectSizeEstimator, Timer timer) { - super(); init(objectSizeEstimator, timer, 0, 0, DEFAULT_CHECK_INTERVAL); } @@ -248,7 +242,6 @@ public abstract class AbstractTrafficShapingHandler extends * channels or 0 if no stats are to be computed */ public AbstractTrafficShapingHandler(Timer timer, long checkInterval) { - super(); init(new DefaultObjectSizeEstimator(), timer, 0, 0, checkInterval); } @@ -267,7 +260,6 @@ public abstract class AbstractTrafficShapingHandler extends public AbstractTrafficShapingHandler( ObjectSizeEstimator objectSizeEstimator, Timer timer, long checkInterval) { - super(); init(objectSizeEstimator, timer, 0, 0, checkInterval); }