diff --git a/handler/src/main/java/io/netty/handler/traffic/AbstractTrafficShapingHandler.java b/handler/src/main/java/io/netty/handler/traffic/AbstractTrafficShapingHandler.java
index 3e8f294aca..ff97783fd7 100644
--- a/handler/src/main/java/io/netty/handler/traffic/AbstractTrafficShapingHandler.java
+++ b/handler/src/main/java/io/netty/handler/traffic/AbstractTrafficShapingHandler.java
@@ -91,7 +91,7 @@ public abstract class AbstractTrafficShapingHandler extends
/**
* used in releaseExternalResources() to cancel the timer
*/
- volatile private Timeout timeout = null;
+ private volatile Timeout timeout;
/**
* Limit in B/s to apply to write
diff --git a/handler/src/main/java/io/netty/handler/traffic/ChannelTrafficShapingHandler.java b/handler/src/main/java/io/netty/handler/traffic/ChannelTrafficShapingHandler.java
index bd2f281dec..7e3a659c82 100644
--- a/handler/src/main/java/io/netty/handler/traffic/ChannelTrafficShapingHandler.java
+++ b/handler/src/main/java/io/netty/handler/traffic/ChannelTrafficShapingHandler.java
@@ -33,7 +33,7 @@ import io.netty.util.Timer;
*
Add in your pipeline a new ChannelTrafficShapingHandler, before a recommended {@link ExecutionHandler} (like
* {@link OrderedMemoryAwareThreadPoolExecutor} or {@link MemoryAwareThreadPoolExecutor}).
* ChannelTrafficShapingHandler myHandler = new ChannelTrafficShapingHandler(timer);
- * timer could be created using HashedWheelTimer
+ * timer could be created using HashedWheelTimer
* pipeline.addLast("CHANNEL_TRAFFIC_SHAPING", myHandler);
*
* Note that this handler has a Pipeline Coverage of "one" which means a new handler must be created
diff --git a/handler/src/main/java/io/netty/handler/traffic/GlobalTrafficShapingHandler.java b/handler/src/main/java/io/netty/handler/traffic/GlobalTrafficShapingHandler.java
index b6617d8847..a52e0500f1 100644
--- a/handler/src/main/java/io/netty/handler/traffic/GlobalTrafficShapingHandler.java
+++ b/handler/src/main/java/io/netty/handler/traffic/GlobalTrafficShapingHandler.java
@@ -31,7 +31,7 @@ import io.netty.util.Timer;
*
* - Create your unique GlobalTrafficShapingHandler like:
* GlobalTrafficShapingHandler myHandler = new GlobalTrafficShapingHandler(timer);
- * timer could be created using HashedWheelTimer
+ * timer could be created using HashedWheelTimer
* pipeline.addLast("GLOBAL_TRAFFIC_SHAPING", myHandler);
*
* Note that this handler has a Pipeline Coverage of "all" which means only one such handler must be created
diff --git a/handler/src/main/java/io/netty/handler/traffic/TrafficCounter.java b/handler/src/main/java/io/netty/handler/traffic/TrafficCounter.java
index 4590fb578e..ac49367a77 100644
--- a/handler/src/main/java/io/netty/handler/traffic/TrafficCounter.java
+++ b/handler/src/main/java/io/netty/handler/traffic/TrafficCounter.java
@@ -113,7 +113,7 @@ public class TrafficCounter {
/**
* used in stop() to cancel the timer
*/
- volatile private Timeout timeout = null;
+ private volatile Timeout timeout;
/**
* Is Monitor active
diff --git a/handler/src/main/java/io/netty/handler/traffic/package-info.java b/handler/src/main/java/io/netty/handler/traffic/package-info.java
index f39d8f335c..fd7e408d0d 100644
--- a/handler/src/main/java/io/netty/handler/traffic/package-info.java
+++ b/handler/src/main/java/io/netty/handler/traffic/package-info.java
@@ -36,7 +36,7 @@
*
* The insertion in the pipeline of one of those handlers can be wherever you want, but
* it must be placed before any {@link MemoryAwareThreadPoolExecutor}
- * in your pipeline.
+ * in your pipeline
.
* It is really recommended to have such a {@link MemoryAwareThreadPoolExecutor}
* (either non ordered or {@link OrderedMemoryAwareThreadPoolExecutor}
* ) in your pipeline
@@ -76,7 +76,7 @@
*
* So in your application you will create your own TrafficShapingHandler and set the values to fit your needs.
* XXXXXTrafficShapingHandler myHandler = new XXXXXTrafficShapingHandler(timer);
- * timer could be created using HashedWheelTimer and XXXXX could be either
+ * timer could be created using HashedWheelTimer and XXXXX could be either
* Global or Channel
* pipeline.addLast("XXXXX_TRAFFIC_SHAPING", myHandler);
* ...