Replaced equals with equalsIgnoreCase method 90/82690/3
authorJegadeesh Babu <jegabab1@in.ibm.com>
Tue, 19 Mar 2019 16:19:32 +0000 (21:49 +0530)
committerTakamune Cho <takamune.cho@att.com>
Thu, 21 Mar 2019 00:13:24 +0000 (00:13 +0000)
Sonar fix

Issue-ID: APPC-1546
Change-Id: I27ca1efc97240419f206502860b63d8e625c0bf8
Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/base/ProviderStackOperation.java

index 687e24a..1e6a918 100644 (file)
@@ -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 {