1 package com.atlassian.event;
2
3 import org.springframework.context.ApplicationEvent;
4
5
6
7
8
9 public class Event extends ApplicationEvent {
10 public Event(Object source) {
11 super(source);
12 }
13
14 public boolean equals(Object o) {
15 if (this == o) {
16 return true;
17 }
18 if (!(o instanceof Event)) {
19 return false;
20 }
21
22 final Event event = (Event) o;
23
24 if (source != null ? !source.equals(event.source) : event.source != null) {
25 return false;
26 }
27
28 return true;
29 }
30
31 public int hashCode() {
32 return (source != null ? source.hashCode() : 0);
33 }
34 }