diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2018-03-13 05:15:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-13 05:15:12 +0000 |
commit | 126fe91825f43654be9980aac0c49b612bd39f50 (patch) | |
tree | f6928af6f4fabbf9dcbb9f97a4360d17b56d77c0 | |
parent | 6310dbd5b69ecd9e5b87cd31a7420c4ff3d4f36d (diff) | |
parent | 7353922604f2bc3ca0406131accb1ab04997c8bb (diff) |
Merge "Fix a potentional bug String comparison using !="
-rw-r--r-- | bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/PropertyConfigurationSetup.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |