diff options
author | Jegadeesh Babu <jegabab1@in.ibm.com> | 2019-03-19 21:49:32 +0530 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2019-03-21 00:13:24 +0000 |
commit | 51550d6c0e25f0e620f3ec7efe078185a85d8e26 (patch) | |
tree | 2da2a5624cc410c80056760328c3810078a4c42b /appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src | |
parent | 8cecdb593c5763c14ec42634d690efc170cac97e (diff) |
Replaced equals with equalsIgnoreCase method
Sonar fix
Issue-ID: APPC-1546
Change-Id: I27ca1efc97240419f206502860b63d8e625c0bf8
Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
Diffstat (limited to 'appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src')
-rw-r--r-- | appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/base/ProviderStackOperation.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/base/ProviderStackOperation.java b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/base/ProviderStackOperation.java index 687e24aa6..1e6a91856 100644 --- a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/base/ProviderStackOperation.java +++ b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/base/ProviderStackOperation.java @@ -91,7 +91,7 @@ public abstract class ProviderStackOperation extends ProviderOperation { * Changed the 'pollInterval' type as long. Thread.sleep method needs 'long millis' as an argument */ private boolean checkStatus(String expectedStatus, long pollInterval, String actualStatus) { - if (actualStatus.toUpperCase().equals(expectedStatus)) { + if (actualStatus.equalsIgnoreCase(expectedStatus)) { return true; } else { try { |