From 6141af73db44c2b983d6d57bf44790a4b881ac02 Mon Sep 17 00:00:00 2001 From: Sudarshan Kumar Date: Fri, 5 Jul 2019 18:38:38 +0530 Subject: Sonar Fix - String Comparison Sonar Fix - String Comparison Issue-ID: APPC-1629 Change-Id: Ia13da99f101d479aba7009ba4dffc201aa9a3ffe Signed-off-by: Sudarshan Kumar --- .../onap/appc/adapter/iaas/provider/operation/impl/RebuildServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap') 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); } -- cgit 1.2.3-korg