summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCoreBPMN/src
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-04-11 11:24:16 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-04-11 11:24:16 -0700
commit1b96d7fe34a8bf9be91a5041e63e37141e996489 (patch)
tree8c64ded0678e66e155c8edec94bc49cedb1fbee1 /bpmn/MSOCoreBPMN/src
parentb6b7bef8bdcad15af01ac88a038dd763ce59f68f (diff)
Fix logic error in HealthCheckHandler
Change-Id: I0d67ad98e2e9b409774532715da3959e47e27d13 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'bpmn/MSOCoreBPMN/src')
-rw-r--r--bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/HealthCheckHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/HealthCheckHandler.java b/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/HealthCheckHandler.java
index 2edbc99a77..409297c927 100644
--- a/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/HealthCheckHandler.java
+++ b/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/HealthCheckHandler.java
@@ -215,7 +215,7 @@ public class HealthCheckHandler {
private String decrypt(String encryptedString, String key){
try {
- if (encryptedString != null || !encryptedString.isEmpty() && key != null && !key.isEmpty()) {
+ if (encryptedString != null && !encryptedString.isEmpty() && key != null && !key.isEmpty()) {
return CryptoUtils.decrypt(encryptedString, key);
}
} catch (Exception e) {