summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-07-30 14:49:51 +0530
committeranushadasari <danush10@in.ibm.com>2019-07-30 14:50:18 +0530
commitaa0071848512c5570b6f218514716ace958ec7a8 (patch)
tree9e9c6b5d1684ecc8ebffe67a408fa0362c182ed9
parent3e71b91278d81f46d7f5f187bfd928edf4b64c89 (diff)
Major- Unused "context" local variable.
If a local variable is declared but not used, it is dead code and should be removed. Doing so will improve maintainability because developers will not wonder what the variable is used for. Issue-ID: APPC-1675 Change-Id: I9cccd6fd529591cbbe7095cce9d5687a712f42d9 Signed-off-by: anushadasari <danush10@in.ibm.com>
-rw-r--r--appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/RebootServer.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/RebootServer.java b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/RebootServer.java
index b1879cee2..4847cc41c 100644
--- a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/RebootServer.java
+++ b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/RebootServer.java
@@ -143,7 +143,6 @@ public class RebootServer extends ProviderServerOperation {
int timeout = configuration.getIntegerProperty(Constants.PROPERTY_SERVER_STATE_CHANGE_TIMEOUT);
config.setProperty(Constants.PROPERTY_RETRY_DELAY, RETRY_INTERVAL.toString());
config.setProperty(Constants.PROPERTY_RETRY_LIMIT, NO_OF_ATTEMPTS.toString());
- Context context = server.getContext();
String msg;
boolean status = false;
while (rc.attempt()) {