diff options
author | Artem Naluzhnyy <A.Naluzhnyy@samsung.com> | 2019-08-08 11:41:05 +0200 |
---|---|---|
committer | Liam Fallon <liam.fallon@est.tech> | 2019-08-13 13:25:51 +0000 |
commit | 3a2e21f609f4ba73a79e2dd79940849e3a5014bd (patch) | |
tree | 6701dbacd7bfcd0d7c5fba6534e86631d6941b26 /model/event-model/src/main/java | |
parent | 6203d19345c38dbfb6136ea6754bb11ca09fa90b (diff) |
Fix copy&paste typo in AxEvent.compareTo
Coverity-scan: CID-229652
Issue-ID: POLICY-1961
Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com>
Change-Id: I29fa25d0ead6930dd47a0eed17d2a4dd6e489ee6
Diffstat (limited to 'model/event-model/src/main/java')
-rw-r--r-- | model/event-model/src/main/java/org/onap/policy/apex/model/eventmodel/concepts/AxEvent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/event-model/src/main/java/org/onap/policy/apex/model/eventmodel/concepts/AxEvent.java b/model/event-model/src/main/java/org/onap/policy/apex/model/eventmodel/concepts/AxEvent.java index 74ba1f958..5a7550c03 100644 --- a/model/event-model/src/main/java/org/onap/policy/apex/model/eventmodel/concepts/AxEvent.java +++ b/model/event-model/src/main/java/org/onap/policy/apex/model/eventmodel/concepts/AxEvent.java @@ -526,7 +526,7 @@ public class AxEvent extends AxConcept { return nameSpace.compareTo(other.nameSpace); } if (!source.equals(other.source)) { - return target.compareTo(other.source); + return source.compareTo(other.source); } if (!target.equals(other.target)) { return target.compareTo(other.target); |