summaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-iaas-adapter
diff options
context:
space:
mode:
authorJegadeesh Babu <jegabab1@in.ibm.com>2019-03-19 21:49:32 +0530
committerTakamune Cho <takamune.cho@att.com>2019-03-21 00:13:24 +0000
commit51550d6c0e25f0e620f3ec7efe078185a85d8e26 (patch)
tree2da2a5624cc410c80056760328c3810078a4c42b /appc-adapters/appc-iaas-adapter
parent8cecdb593c5763c14ec42634d690efc170cac97e (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')
-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.java2
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 {