From: Munir Ahmad Date: Sat, 10 Mar 2018 00:38:02 +0000 (-0500) Subject: Fix a potentional bug String comparison using != X-Git-Tag: v1.2.1~452^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=7353922604f2bc3ca0406131accb1ab04997c8bb;p=so.git Fix a potentional bug String comparison using != Change-Id: If4e3199dfb0210085e97997133a3cec83d6d99e5 Issue-ID: SO-437 Signed-off-by: Munir Ahmad --- diff --git a/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/PropertyConfigurationSetup.java b/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/PropertyConfigurationSetup.java index a1719a90ef..98659d2a62 100644 --- a/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/PropertyConfigurationSetup.java +++ b/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/PropertyConfigurationSetup.java @@ -217,7 +217,7 @@ public class PropertyConfigurationSetup { String newTimestamp = PropertyConfiguration.getInstance().getProperties(type) .get(PropertyConfiguration.TIMESTAMP_PROPERTY); - if (newTimestamp != oldTimestamp) { + if (!newTimestamp.equals(oldTimestamp)) { return; }