public boolean equals()

in containers-docker-local/src/main/java/org/apache/aries/containers/docker/local/impl/ServiceImpl.java [118:137]


    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        ServiceImpl other = (ServiceImpl) obj;
        if (config == null) {
            if (other.config != null)
                return false;
        } else if (!config.equals(other.config))
            return false;
        if (containers == null) {
            if (other.containers != null)
                return false;
        } else if (!containers.equals(other.containers))
            return false;
        return true;
    }