Esempio n. 1
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    NotificationMsg that = (NotificationMsg) o;

    if (update != null ? !update.equals(that.update) : that.update != null) return false;
    return status == that.status;
  }
Esempio n. 2
0
 @Override
 public int hashCode() {
   int result = update != null ? update.hashCode() : 0;
   result = 31 * result + (status != null ? status.hashCode() : 0);
   return result;
 }