public boolean equals()

in src/main/java/org/apache/openwhisk/intellij/common/whisk/model/trigger/WhiskTrigger.java [94:106]


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

        WhiskTrigger that = (WhiskTrigger) 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;
        return annotations != null ? annotations.equals(that.annotations) : that.annotations == null;
    }