config-manager: final parameters
[controller.git] / opendaylight / config / config-manager / src / test / java / org / opendaylight / controller / config / manager / testingservices / threadpool / TestingFixedThreadPool.java
index 0f4f00f0baf223c40239e4379b2a6529c10c9a8f..4f8de6dfe16f20467f5b8cbb56ff0d004be4a755 100644 (file)
@@ -36,7 +36,7 @@ public class TestingFixedThreadPool implements TestingThreadPoolIfc, Closeable,
     public static final List<ThreadPoolExecutor> allExecutors = Collections
             .synchronizedList(Lists.<ThreadPoolExecutor>newLinkedList());
 
-    public TestingFixedThreadPool(int threadCount, String uniqueName) {
+    public TestingFixedThreadPool(final int threadCount, final String uniqueName) {
         checkNotNull(uniqueName);
         this.uniqueName = uniqueName;
         executorService = (ThreadPoolExecutor) Executors
@@ -66,7 +66,7 @@ public class TestingFixedThreadPool implements TestingThreadPoolIfc, Closeable,
     }
 
     @Override
-    public void setMaximumNumberOfThreads(int activeCount) {
+    public void setMaximumNumberOfThreads(final int activeCount) {
         checkArgument(activeCount > 0);
         executorService.setMaximumPoolSize(activeCount);
     }