public boolean equals()

in src/main/java/com/aliyun/openservices/log/common/ReportConfiguration.java [132:148]


    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        ReportConfiguration that = (ReportConfiguration) o;

        if (getEnableWatermark() != that.getEnableWatermark()) return false;
        if (getAllowAnonymousAccess() != that.getAllowAnonymousAccess()) return false;
        if (getCustomizePeriod() != that.getCustomizePeriod()) return false;
        if (getAttachCsv() != that.getAttachCsv()) return false;
        if (getLanguage() != null ? !getLanguage().equals(that.getLanguage()) : that.getLanguage() != null)
            return false;
        if (getExtraParams() != null ? !getExtraParams().equals(that.getExtraParams()) : that.getExtraParams() != null) {
            return false;
        }
        return getPeriod() != null ? getPeriod().equals(that.getPeriod()) : that.getPeriod() == null;
    }