diff options
author | Sudarshan Kumar <sudars19@in.ibm.com> | 2019-07-05 16:07:36 +0530 |
---|---|---|
committer | Patrick Brady <patrick.brady@att.com> | 2019-07-11 19:26:35 +0000 |
commit | b1d55dd69c4a1b808b2a2ab995172e4bfdabfaea (patch) | |
tree | 6e43bab60c42c739ce193a756d7cf3e84961c506 /appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle | |
parent | 6141af73db44c2b983d6d57bf44790a4b881ac02 (diff) |
Sonar Fix - String comparison
Sonar Fix - String comparison
Issue-ID: APPC-1629
Change-Id: I8ea38dfaf629c2be624552a1cf0b0f0e877117cb
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
Diffstat (limited to 'appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle')
-rw-r--r-- | appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java index 909f31fd1..ee25ad01c 100644 --- a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java +++ b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/CreateSnapshot.java @@ -6,7 +6,7 @@ * ================================================================================ * Copyright (C) 2017 Amdocs * ============================================================================= - * Modifications Copyright (C) 2018 IBM. + * Modifications Copyright (C) 2018-2019 IBM. * ================================================================================ * Modifications (C) 2019 Ericsson * ============================================================================= @@ -178,7 +178,7 @@ public class CreateSnapshot extends ProviderServerOperation { } // Always perform Hypervisor check // 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); } |