in src/main/java/com/aliyun/openservices/log/common/Metric2MetricParameters.java [28:46]
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
if (!super.equals(obj)) {
return false;
}
Metric2MetricParameters that = (Metric2MetricParameters) obj;
if (getMetricName() != null ? !getMetricName().equals(that.getMetricName()) : that.getMetricName() != null) {
return false;
}
if (getHashLabels() != null ? !getHashLabels().equals(that.getHashLabels()) : that.getHashLabels() != null) {
return false;
}
return getAddLabels() != null ? getAddLabels().equals(that.getAddLabels()) : that.getAddLabels() == null;
}