Fix logic error in HealthCheckHandler

Change-Id: I0d67ad98e2e9b409774532715da3959e47e27d13
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
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 2edbc99..409297c 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 @@
 
     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) {