aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--model/event-model/src/main/java/org/onap/policy/apex/model/eventmodel/concepts/AxEvent.java2
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);