in ws-security-common/src/main/java/org/apache/wss4j/common/saml/bean/SubjectConfirmationDataBean.java [172:219]
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (!(o instanceof SubjectConfirmationDataBean)) {
return false;
}
SubjectConfirmationDataBean that = (SubjectConfirmationDataBean) o;
if (recipient == null && that.recipient != null) {
return false;
} else if (recipient != null && !recipient.equals(that.recipient)) {
return false;
}
if (address == null && that.address != null) {
return false;
} else if (address != null && !address.equals(that.address)) {
return false;
}
if (inResponseTo == null && that.inResponseTo != null) {
return false;
} else if (inResponseTo != null && !inResponseTo.equals(that.inResponseTo)) {
return false;
}
if (notBefore == null && that.notBefore != null) {
return false;
} else if (notBefore != null && !notBefore.equals(that.notBefore)) {
return false;
}
if (notAfter == null && that.notAfter != null) {
return false;
} else if (notAfter != null && !notAfter.equals(that.notAfter)) {
return false;
}
if (any == null && that.any != null) {
return false;
} else if (any != null && !any.equals(that.any)) {
return false;
}
return true;
}