config-manager: final parameters
[controller.git] / opendaylight / config / config-manager / src / test / java / org / opendaylight / controller / config / manager / testingservices / threadpool / TestingFixedThreadPoolModuleFactory.java
index d385a7db5a2d007bb6d4320f31d7247a4ecde1c1..e78ae980096fa5e8905e12bf0f83de330b353376 100644 (file)
@@ -50,7 +50,7 @@ public class TestingFixedThreadPoolModuleFactory extends AbstractTestingFixedThr
         try {
             // reconfigure existing instance
             oldInstance = (TestingFixedThreadPool) old.getInstance();
-        } catch (ClassCastException e) {
+        } catch (final ClassCastException e) {
             // old instance will be closed, new needs to be created
             oldInstance = null;
         }
@@ -69,7 +69,7 @@ public class TestingFixedThreadPoolModuleFactory extends AbstractTestingFixedThr
 
     @Override
     public Set<Module> getDefaultModules(final DependencyResolverFactory dependencyResolverFactory, final BundleContext bundleContext) {
-        return new HashSet<Module>();
+        return new HashSet<>();
     }
 
     @Override