public boolean equals()

in vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/registry/impl/FSInstallState.java [451:501]


    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        FSInstallState other = (FSInstallState) obj;
        if (dependencies == null) {
            if (other.dependencies != null)
                return false;
        } else if (!dependencies.equals(other.dependencies))
            return false;
        if (external != other.external)
            return false;
        if (filePath == null) {
            if (other.filePath != null)
                return false;
        } else if (!filePath.equals(other.filePath))
            return false;
        if (filter == null) {
            if (other.filter != null)
                return false;
        } else if (!filter.equals(other.filter))
            return false;
        if (installTime == null) {
            if (other.installTime != null)
                return false;
        } else if (!installTime.equals(other.installTime))
            return false;
        if (packageId == null) {
            if (other.packageId != null)
                return false;
        } else if (!packageId.equals(other.packageId))
            return false;
        if (properties == null) {
            if (other.properties != null)
                return false;
        } else if (!properties.equals(other.properties))
            return false;
        if (size != other.size)
            return false;
        if (status != other.status)
            return false;
        if (subPackages == null) {
            if (other.subPackages != null)
                return false;
        } else if (!subPackages.equals(other.subPackages))
            return false;
        return true;
    }