@Override public boolean equals(Object obj){
  if (obj == null) {
    return false;
  }
  if (getClass() != obj.getClass()) {
    return false;
  }
  final Favorite other=(Favorite)obj;
  if (!Objects.equals(this.code,other.code)) {
    return false;
  }
  if (this.emoteset != other.emoteset) {
    return false;
  }
  return true;
}

@ Override public boolean equals ( Object obj ) { if ( obj == null ) { return false ; } if ( getClass ( ) != obj . getClass ( ) ) { return false ; } final Favorite other = ( Favorite ) obj ; if ( ! Objects . equals ( this . code , other . code ) ) { return false ; } if ( this . emoteset != other . emoteset ) { return false ; } return true ; }
a favorite is considered equal when both the emote code and emoteset are equal .
