public boolean equals()

in src/main/java/org/apache/openwhisk/intellij/common/whisk/model/pkg/WhiskPackage.java [112:125]


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

        WhiskPackage that = (WhiskPackage) o;

        if (publish != that.publish) return false;
        if (updated != that.updated) 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;
        return binding != null ? binding.equals(that.binding) : that.binding == null;
    }