public boolean equals()

in src/main/java/org/apache/openwhisk/intellij/common/whisk/model/action/WhiskAction.java [265:279]


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

        WhiskAction<?> that = (WhiskAction<?>) o;

        if (updated != that.updated) return false;
        if (publish != that.publish) return false;
        if (name != null ? !name.equals(that.name) : that.name != null) return false;
        if (namespace != null ? !namespace.equals(that.namespace) : that.namespace != null) return false;
        if (version != null ? !version.equals(that.version) : that.version != null) return false;
        if (annotations != null ? !annotations.equals(that.annotations) : that.annotations != null) return false;
        if (limits != null ? !limits.equals(that.limits) : that.limits != null) return false;
        return exec != null ? exec.equals(that.exec) : that.exec == null;
    }