Change-Id: I6251531e51ff398afdcc892d915092203f011dec
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57108
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
@Override
public int compareTo(EventOccurrenceObject other) {
// descending order
- return -Long.compare(this.getNbOccurence(), other.getNbOccurence());
+ return Long.compare(other.getNbOccurence(), this.getNbOccurence());
}
public String getName() {