marc
09/22/2016, 9:31 AMprivate static class SentryEventRequest implements Serializable {
final String requestData;
final UUID uuid;
SentryEventRequest(SentryEventBuilder builder) {
this.requestData = new JSONObject(builder.event).toString();
this.uuid = UUID.randomUUID();
}
@Override
public boolean equals(Object other) {
return (other instanceof SentryEventRequest) &&
((SentryEventRequest)other).uuid == this.uuid;
}
}