diff options
author | Sudarshan Kumar <sudars19@in.ibm.com> | 2019-07-05 18:38:38 +0530 |
---|---|---|
committer | Patrick Brady <patrick.brady@att.com> | 2019-07-11 19:26:30 +0000 |
commit | 6141af73db44c2b983d6d57bf44790a4b881ac02 (patch) | |
tree | aa4c235bc08d5934b0194b9eb0f5b75a9fb5850f | |
parent | 2d41766e54fc4ea14a98b4a7b9a6d81a484ea51d (diff) |
Sonar Fix - String Comparison
Sonar Fix - String Comparison
Issue-ID: APPC-1629
Change-Id: Ia13da99f101d479aba7009ba4dffc201aa9a3ffe
Signed-off-by: Sudarshan Kumar <sudars19@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/RebuildServer.java | 2 |
1 files changed, 1 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/RebuildServer.java b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/RebuildServer.java index 09beb9831..4412b9537 100644 --- a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/RebuildServer.java +++ b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/RebuildServer.java @@ -220,7 +220,7 @@ public class RebuildServer extends ProviderServerOperation { } // Always perform Hypervisor Status checks // unless the skip is set to true - if (skipHypervisorCheck == null || (!skipHypervisorCheck.equalsIgnoreCase("true"))) { + if (skipHypervisorCheck == null || (!"true".equalsIgnoreCase(skipHypervisorCheck))) { // Check of the Hypervisor for the VM Server is UP and reachable checkHypervisor(server); } |