public boolean equals()

in src/main/java/com/googlesource/gerrit/plugins/replication/events/RefReplicatedEvent.java [43:67]


  public boolean equals(Object other) {
    if (!(other instanceof RefReplicatedEvent)) {
      return false;
    }
    RefReplicatedEvent event = (RefReplicatedEvent) other;
    if (!Objects.equals(event.project, this.project)) {
      return false;
    }
    if (!Objects.equals(event.ref, this.ref)) {
      return false;
    }
    if (!Objects.equals(event.targetNode, this.targetNode)) {
      return false;
    }
    if (!Objects.equals(event.targetUri, this.targetUri)) {
      return false;
    }
    if (!Objects.equals(event.status, this.status)) {
      return false;
    }
    if (!Objects.equals(event.refStatus, this.refStatus)) {
      return false;
    }
    return true;
  }