public boolean equals()

in eap-coffee-app/src/main/java/cafe/model/entity/Coffee.java [62:71]


    public boolean equals(Object object) {
        if (!(object instanceof Coffee)) {
            return false;
        }
        Coffee other = (Coffee) object;
        if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
            return false;
        }
        return true;
    }