X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fconfig%2Fconfig-manager%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fmanager%2Ftestingservices%2Fparallelapsp%2FTestingParallelAPSPModuleFactory.java;h=3fc07fe571a9fe1323eab1a1a1e943a7872d9ec9;hp=89b70e3e7ab4fca00351a71dbcd5f75efcd87041;hb=cbcc2b61265e903959f11d44c292771e76b3926e;hpb=2294805f83434db1d248e629767da6a563ce595f diff --git a/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/parallelapsp/TestingParallelAPSPModuleFactory.java b/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/parallelapsp/TestingParallelAPSPModuleFactory.java index 89b70e3e7a..3fc07fe571 100644 --- a/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/parallelapsp/TestingParallelAPSPModuleFactory.java +++ b/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/parallelapsp/TestingParallelAPSPModuleFactory.java @@ -32,20 +32,20 @@ public class TestingParallelAPSPModuleFactory implements ModuleFactory { } @Override - public TestingParallelAPSPModule createModule(String instanceName, - DependencyResolver dependencyResolver, BundleContext bundleContext) { + public TestingParallelAPSPModule createModule(final String instanceName, + final DependencyResolver dependencyResolver, final BundleContext bundleContext) { return new TestingParallelAPSPModule(new ModuleIdentifier(NAME, instanceName), dependencyResolver, null, null); } @Override - public TestingParallelAPSPModule createModule(String instanceName, - DependencyResolver dependencyResolver, DynamicMBeanWithInstance old, BundleContext context) + public TestingParallelAPSPModule createModule(final String instanceName, + final DependencyResolver dependencyResolver, final DynamicMBeanWithInstance old, final BundleContext context) throws Exception { TestingParallelAPSPImpl oldInstance; try { oldInstance = (TestingParallelAPSPImpl) old.getInstance(); - } catch (ClassCastException e) { + } catch (final ClassCastException e) { oldInstance = null; } TestingParallelAPSPModule result = new TestingParallelAPSPModule( @@ -61,13 +61,13 @@ public class TestingParallelAPSPModuleFactory implements ModuleFactory { @Override public boolean isModuleImplementingServiceInterface( - Class serviceInterface) { + final Class serviceInterface) { return false; } @Override - public Set getDefaultModules(DependencyResolverFactory dependencyResolverFactory, BundleContext context) { - return new HashSet(); + public Set getDefaultModules(final DependencyResolverFactory dependencyResolverFactory, final BundleContext context) { + return new HashSet<>(); } @Override