public boolean equals()

in serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/Subscription.java [74:83]


    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        Subscription that = (Subscription) o;
        return verified == that.verified && email.equals(that.email) && Objects.equals(id, that.id) && Objects.equals(name, that.name);
    }