public boolean equals()

in plugins/org.apache.karaf.eik.core/src/main/java/org/apache/karaf/eik/core/features/XmlFeaturesRepository.java [67:97]


    public boolean equals(final Object obj) {
        if (this == obj) {
            return true;
        }

        if (obj == null) {
            return false;
        }

        if (!(obj instanceof XmlFeaturesRepository)) {
            return false;
        }

        final XmlFeaturesRepository other = (XmlFeaturesRepository) obj;
        if (features == null) {
            if (other.features != null) {
                return false;
            }
        } else if (!features.equals(other.features)) {
            return false;
        }

        if (repositoryName == null) {
            if (other.repositoryName != null) {
                return false;
            }
        } else if (!repositoryName.equals(other.repositoryName)) {
            return false;
        }
        return true;
    }