in aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/strategy/sampling/rule/CentralizedRule.java [266:292]
public boolean equals(@Nullable Object o) {
if (this == o) {
return true;
}
if (!(o instanceof CentralizedRule)) {
return false;
}
CentralizedRule that = (CentralizedRule) o;
if (priority != that.priority) {
return false;
}
if (Double.compare(that.fixedRate, fixedRate) != 0) {
return false;
}
if (!name.equals(that.name)) {
return false;
}
if (!centralizedReservoir.equals(that.centralizedReservoir)) {
return false;
}
if (!statistics.equals(that.statistics)) {
return false;
}
return Objects.equals(matchers, that.matchers);
}