commit | 126fe91825f43654be9980aac0c49b612bd39f50 | [log] [tgz] |
---|---|---|
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | Tue Mar 13 05:15:12 2018 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Tue Mar 13 05:15:12 2018 +0000 |
tree | f6928af6f4fabbf9dcbb9f97a4360d17b56d77c0 | |
parent | 6310dbd5b69ecd9e5b87cd31a7420c4ff3d4f36d [diff] | |
parent | 7353922604f2bc3ca0406131accb1ab04997c8bb [diff] |
Merge "Fix a potentional bug String comparison using !="
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 a1719a9..98659d2 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 @@ String newTimestamp = PropertyConfiguration.getInstance().getProperties(type) .get(PropertyConfiguration.TIMESTAMP_PROPERTY); - if (newTimestamp != oldTimestamp) { + if (!newTimestamp.equals(oldTimestamp)) { return; }