diff options
author | Sumapriya <SS00493505@techmahindra.com> | 2018-04-24 12:41:00 +0530 |
---|---|---|
committer | Sumapriya <SS00493505@techmahindra.com> | 2018-04-24 12:41:00 +0530 |
commit | be3f82af745eeebe06d19c506c43d8f49c63ab69 (patch) | |
tree | 98bf57f32fc26119891009a2bb39a06d025d6d10 | |
parent | fa1d708ff89dd3ed4230142997eef1827a9cb949 (diff) |
Sonar Major Bug Fixing
File:E2EServiceInstances.java
Line:L706
Sonar
Link:https://sonar.onap.org/project/issues?assigned=false&id=org.onap.so%3Aso&open=AWJskpquRGy6eclHE4zt&resolved=false&rules=squid%3AS1132&severities=MAJOR
Change-Id: Iba618d98de4153deefa3822240b3ec29226bef68
Issue-ID: SO-592
Signed-off-by: Sumapriya <SS00493505@techmahindra.com>
-rw-r--r-- | mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java index e0e13e7884..01ca4df9f2 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java @@ -703,7 +703,7 @@ public class E2EServiceInstances { return response; } - if (curStatus != null && curStatus.getResult() != null && curStatus.getResult().equalsIgnoreCase("processing")) { + if ("processing".equalsIgnoreCase("curStatus != null && curStatus.getResult() != null && curStatus.getResult()")) { String chkMessage = "Error: Locked instance - This " + requestScope + " (" + serviceId + ") " + "now being worked with a status of " + curStatus.getResult() + ". The latest workflow of instance must be finished or cleaned up."; |