X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fconfig%2Fshutdown-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fyang%2Fshutdown%2Fimpl%2FShutdownModule.java;h=57efe52827baa0c6feff5c46bf42c00bfb17424a;hp=e3ae30db745e1ad2233e988938f71c3eac699a1b;hb=1417bcd892b1dc9a4d68c9562d91eee8320de38f;hpb=71f19bb6cdb8fcbeec5bcb1e5258fa5c98a41085 diff --git a/opendaylight/config/shutdown-impl/src/main/java/org/opendaylight/controller/config/yang/shutdown/impl/ShutdownModule.java b/opendaylight/config/shutdown-impl/src/main/java/org/opendaylight/controller/config/yang/shutdown/impl/ShutdownModule.java index e3ae30db74..57efe52827 100644 --- a/opendaylight/config/shutdown-impl/src/main/java/org/opendaylight/controller/config/yang/shutdown/impl/ShutdownModule.java +++ b/opendaylight/config/shutdown-impl/src/main/java/org/opendaylight/controller/config/yang/shutdown/impl/ShutdownModule.java @@ -24,34 +24,34 @@ import org.osgi.framework.Bundle; public final class ShutdownModule extends AbstractShutdownModule { private final Bundle systemBundle; - public ShutdownModule(ModuleIdentifier identifier, Bundle systemBundle) { + public ShutdownModule(final ModuleIdentifier identifier, final Bundle systemBundle) { super(identifier, null); singletonCheck(identifier); this.systemBundle = systemBundle; } - public ShutdownModule(ModuleIdentifier identifier, ShutdownModule oldModule, java.lang.AutoCloseable oldInstance, - Bundle systemBundle) { + public ShutdownModule(final ModuleIdentifier identifier, final ShutdownModule oldModule, final java.lang.AutoCloseable oldInstance, + final Bundle systemBundle) { super(identifier, null, oldModule, oldInstance); singletonCheck(identifier); this.systemBundle = systemBundle; } - private static void singletonCheck(ModuleIdentifier identifier) { + private static void singletonCheck(final ModuleIdentifier identifier) { if (AbstractShutdownModuleFactory.NAME.equals(identifier.getInstanceName()) == false) { throw new IllegalArgumentException("Singleton enforcement failed. Expected instance name " + AbstractShutdownModuleFactory.NAME); } } @Deprecated // needed for generated code - public ShutdownModule(ModuleIdentifier identifier, DependencyResolver dependencyResolver, ShutdownModule oldModule, - AutoCloseable oldInstance) { + public ShutdownModule(final ModuleIdentifier identifier, final DependencyResolver dependencyResolver, final ShutdownModule oldModule, + final AutoCloseable oldInstance) { super(identifier, dependencyResolver, oldModule, oldInstance); throw new UnsupportedOperationException(); } @Deprecated // needed for generated code - public ShutdownModule(ModuleIdentifier identifier, DependencyResolver dependencyResolver) { + public ShutdownModule(final ModuleIdentifier identifier, final DependencyResolver dependencyResolver) { super(identifier, dependencyResolver); throw new UnsupportedOperationException(); }