public boolean equals()

in rsa/src/main/java/org/apache/aries/rsa/core/ExportReferenceImpl.java [58:71]


    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        ExportReferenceImpl other = (ExportReferenceImpl) obj;
        boolean ed = endpoint == null ? other.endpoint == null
                : endpoint.equals(other.endpoint);
        boolean sr = serviceReference == null ? other.serviceReference == null
                : serviceReference.equals(other.serviceReference);
        return ed && sr;
    }