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=d58ebf2895c327e2c55a4cc2f8ae2384c272edd8;hb=1417bcd892b1dc9a4d68c9562d91eee8320de38f;hpb=7bea173bf1c3c27d5fa366b25a0f83879105c56d 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 d58ebf2895..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 @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ /** * Generated file @@ -17,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(); }