in core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/SubscriptionSpec.java [163:177]
public boolean equals(Object obj) {
boolean result = false;
if (obj instanceof SubscriptionSpec) {
SubscriptionSpec other = (SubscriptionSpec) obj;
result = (name == null && other.name == null || name.equals(other.name))
&& (service == null && other.service == null)
|| (service != null && other.service != null && service.equals(other.service))
&& (interfaceName == null && other.interfaceName == null)
|| (interfaceName != null && other.interfaceName != null && interfaceName
.equals(other.interfaceName)) && (endpoint == null && other.endpoint == null)
|| (endpoint != null && other.endpoint != null && endpoint.equals(other.endpoint));
}
return result;
}