Fix checkstyle violations in clustering-it-provider
[controller.git] / opendaylight / md-sal / samples / clustering-test-app / provider / src / main / java / org / opendaylight / controller / clustering / it / provider / impl / SingletonGetConstantService.java
index 084f4d54b660d54ce72528899b5b630e5e74f2b2..8f3dc2caad31c023081e6fda09c9ccad7ec3d7a2 100644 (file)
@@ -35,7 +35,7 @@ import org.opendaylight.yangtools.yang.model.api.SchemaPath;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-public class SingletonGetConstantService implements DOMRpcImplementation, ClusterSingletonService {
+public final class SingletonGetConstantService implements DOMRpcImplementation, ClusterSingletonService {
 
     private static final Logger LOG = LoggerFactory.getLogger(SingletonGetConstantService.class);
 
@@ -64,9 +64,9 @@ public class SingletonGetConstantService implements DOMRpcImplementation, Cluste
         this.constant = constant;
     }
 
-    public static ClusterSingletonServiceRegistration registerNew(final ClusterSingletonServiceProvider singletonService,
-                                                                  final DOMRpcProviderService rpcProviderService,
-                                                                  final String constant) {
+    public static ClusterSingletonServiceRegistration registerNew(
+            final ClusterSingletonServiceProvider singletonService, final DOMRpcProviderService rpcProviderService,
+            final String constant) {
         LOG.debug("Registering get-singleton-constant into ClusterSingletonService, value {}", constant);
 
         return singletonService
@@ -75,7 +75,8 @@ public class SingletonGetConstantService implements DOMRpcImplementation, Cluste
 
     @Nonnull
     @Override
-    public CheckedFuture<DOMRpcResult, DOMRpcException> invokeRpc(@Nonnull DOMRpcIdentifier rpc, @Nullable NormalizedNode<?, ?> input) {
+    public CheckedFuture<DOMRpcResult, DOMRpcException> invokeRpc(@Nonnull DOMRpcIdentifier rpc,
+            @Nullable NormalizedNode<?, ?> input) {
         LOG.debug("get-singleton-constant invoked, current value: {}", constant);
 
         final LeafNode<Object> value = ImmutableLeafNodeBuilder.create()