netty-threadgroup-config: final parameters
[controller.git] / opendaylight / config / netty-threadgroup-config / src / main / java / org / opendaylight / controller / config / yang / netty / threadgroup / NioEventLoopGroupCloseable.java
index 372cf0ecb798211ae9214ff6fc703f7bbbab0ea2..8e8ee64f3e2bbc62636b2cd5ee11813c9529458f 100644 (file)
@@ -11,7 +11,7 @@ import io.netty.channel.nio.NioEventLoopGroup;
 import java.util.concurrent.TimeUnit;
 
 public class NioEventLoopGroupCloseable extends NioEventLoopGroup implements AutoCloseable {
-    private NioEventLoopGroupCloseable(int threadCount) {
+    private NioEventLoopGroupCloseable(final int threadCount) {
         super(threadCount);
     }
 
@@ -24,7 +24,7 @@ public class NioEventLoopGroupCloseable extends NioEventLoopGroup implements Aut
         shutdownGracefully(0, 1, TimeUnit.SECONDS);
     }
 
-    public static NioEventLoopGroupCloseable newInstance(Integer threadCount) {
+    public static NioEventLoopGroupCloseable newInstance(final Integer threadCount) {
         if(threadCount == null || threadCount <= 0) {
             return new NioEventLoopGroupCloseable();
         }