Bug 8153: enforce check-style rules for netconf
[netconf.git] / netconf / tools / netconf-cli / src / main / java / org / opendaylight / netconf / cli / commands / remote / RemoteCommand.java
index ba9b033063e4ed130b0f8a772f77284512526b76..75e7f3855a6c007ae9a7b18a9b4b11a3d6f430ff 100644 (file)
@@ -28,7 +28,7 @@ import org.opendaylight.yangtools.yang.model.api.SchemaPath;
 
 /**
  * Generic remote command implementation that sends the rpc xml to the remote device and waits for response
- * Waiting is limited with TIMEOUT
+ * Waiting is limited with TIMEOUT.
  */
 public class RemoteCommand extends AbstractCommand {
 
@@ -37,15 +37,16 @@ public class RemoteCommand extends AbstractCommand {
     private static final TimeUnit DEFAULT_TIMEOUT_UNIT = TimeUnit.MILLISECONDS;
     private final DOMRpcService rpcService;
 
-    public RemoteCommand(final QName qName, final InputDefinition args, final OutputDefinition output, final String description, final DOMRpcService rpcService) {
-        super(qName, args, output, description);
+    public RemoteCommand(final QName qualifiedName, final InputDefinition args, final OutputDefinition output,
+                         final String description, final DOMRpcService rpcService) {
+        super(qualifiedName, args, output, description);
         this.rpcService = rpcService;
     }
 
     @Override
     public Output invoke(final Input inputArgs) throws CommandInvocationException {
-        final CheckedFuture<DOMRpcResult, DOMRpcException> invokeRpc =
-                rpcService.invokeRpc(SchemaPath.create(Collections.singletonList(getCommandId()), true), inputArgs.wrap(getCommandId()));
+        final CheckedFuture<DOMRpcResult, DOMRpcException> invokeRpc = rpcService.invokeRpc(
+            SchemaPath.create(Collections.singletonList(getCommandId()), true), inputArgs.wrap(getCommandId()));
 
         try {
             return new Output(invokeRpc.get(DEFAULT_TIMEOUT, DEFAULT_TIMEOUT_UNIT).getResult());