in messages/src/main/java/com/epam/deltix/timebase/messages/service/SecurityFeedStatusMessage.java [251:286]
public boolean equals(Object obj) {
if (this == obj) return true;
boolean superEquals = super.equals(obj);
if (!superEquals) return false;
if (!(obj instanceof SecurityFeedStatusMessage)) return false;
SecurityFeedStatusMessage other =(SecurityFeedStatusMessage)obj;
if (hasExchangeId() != other.hasExchangeId()) return false;
if (hasExchangeId() && getExchangeId() != other.getExchangeId()) return false;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus() && getStatus() != other.getStatus()) return false;
if (hasOriginalStatus() != other.hasOriginalStatus()) return false;
if (hasOriginalStatus()) {
if (getOriginalStatus().length() != other.getOriginalStatus().length()) return false; else {
CharSequence s1 = getOriginalStatus();
CharSequence s2 = other.getOriginalStatus();
if ((s1 instanceof MutableString && s2 instanceof MutableString) || (s1 instanceof String && s2 instanceof String) || (s1 instanceof BinaryAsciiString && s2 instanceof BinaryAsciiString)) {
if (!s1.equals(s2)) return false;
} else {
if (!CharSequenceUtils.equals(s1, s2)) return false;
}
}
}
if (hasCause() != other.hasCause()) return false;
if (hasCause()) {
if (getCause().length() != other.getCause().length()) return false; else {
CharSequence s1 = getCause();
CharSequence s2 = other.getCause();
if ((s1 instanceof MutableString && s2 instanceof MutableString) || (s1 instanceof String && s2 instanceof String) || (s1 instanceof BinaryAsciiString && s2 instanceof BinaryAsciiString)) {
if (!s1.equals(s2)) return false;
} else {
if (!CharSequenceUtils.equals(s1, s2)) return false;
}
}
}
return true;
}