public boolean equals()

in core/src/main/java/org/apache/struts2/config/entities/PackageConfig.java [370:403]


    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        PackageConfig that = (PackageConfig) o;

        if (isAbstract != that.isAbstract) return false;
        if (isFinal != that.isFinal) return false;
        if (needsRefresh != that.needsRefresh) return false;
        if (strictMethodInvocation != that.strictMethodInvocation) return false;
        if (!Objects.equals(actionConfigs, that.actionConfigs))
            return false;
        if (!Objects.equals(globalResultConfigs, that.globalResultConfigs))
            return false;
        if (!Objects.equals(globalAllowedMethods, that.globalAllowedMethods))
            return false;
        if (!Objects.equals(interceptorConfigs, that.interceptorConfigs))
            return false;
        if (!Objects.equals(resultTypeConfigs, that.resultTypeConfigs))
            return false;
        if (!Objects.equals(globalExceptionMappingConfigs, that.globalExceptionMappingConfigs))
            return false;
        if (!Objects.equals(parents, that.parents)) return false;
        if (!Objects.equals(defaultInterceptorRef, that.defaultInterceptorRef))
            return false;
        if (!Objects.equals(defaultActionRef, that.defaultActionRef))
            return false;
        if (!Objects.equals(defaultResultType, that.defaultResultType))
            return false;
        if (!Objects.equals(defaultClassRef, that.defaultClassRef))
            return false;
        if (!name.equals(that.name)) return false;
        return Objects.equals(namespace, that.namespace);
    }