shutdown-impl: final parameters
[controller.git] / opendaylight / config / shutdown-impl / src / main / java / org / opendaylight / controller / config / yang / shutdown / impl / ShutdownModuleFactory.java
index 1994e21..de7ed0f 100644 (file)
@@ -17,22 +17,22 @@ import org.osgi.framework.BundleContext;
 
 public class ShutdownModuleFactory extends AbstractShutdownModuleFactory {
 
-    public ShutdownModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
-                                            ShutdownModule oldModule, AutoCloseable oldInstance,
-                                            BundleContext bundleContext) {
+    public ShutdownModule instantiateModule(final String instanceName, final DependencyResolver dependencyResolver,
+                                            final ShutdownModule oldModule, final AutoCloseable oldInstance,
+                                            final BundleContext bundleContext) {
         Bundle systemBundle = bundleContext.getBundle(0);
         return new ShutdownModule(new ModuleIdentifier(NAME, instanceName), oldModule, oldInstance, systemBundle);
     }
 
 
-    public ShutdownModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
-                                            BundleContext bundleContext) {
+    public ShutdownModule instantiateModule(final String instanceName, final DependencyResolver dependencyResolver,
+                                            final BundleContext bundleContext) {
         Bundle systemBundle = bundleContext.getBundle(0);
         return new ShutdownModule(new ModuleIdentifier(NAME, instanceName), systemBundle);
     }
 
     @Override
-    public Set<ShutdownModule> getDefaultModules(DependencyResolverFactory dependencyResolverFactory, BundleContext bundleContext) {
+    public Set<ShutdownModule> getDefaultModules(final DependencyResolverFactory dependencyResolverFactory, final BundleContext bundleContext) {
         ModuleIdentifier id = new ModuleIdentifier(NAME, NAME);
         DependencyResolver dependencyResolver = dependencyResolverFactory.createDependencyResolver(id);
         ShutdownModule shutdownModule = instantiateModule(NAME, dependencyResolver, bundleContext);

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.