@Override public boolean equals(final Object obj){
  if (obj == this) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!super.equals(obj)) {
    return false;
  }
  if (ObjectUtils.notEqual(getClass(),obj.getClass())) {
    return false;
  }
  final ExtendedMessageFormat rhs=(ExtendedMessageFormat)obj;
  if (ObjectUtils.notEqual(toPattern,rhs.toPattern)) {
    return false;
  }
  if (ObjectUtils.notEqual(registry,rhs.registry)) {
    return false;
  }
  return true;
}

@ Override public boolean equals ( final Object obj ) { if ( obj == this ) { return true ; } if ( obj == null ) { return false ; } if ( ! super . equals ( obj ) ) { return false ; } if ( ObjectUtils . notEqual ( getClass ( ) , obj . getClass ( ) ) ) { return false ; } final ExtendedMessageFormat rhs = ( ExtendedMessageFormat ) obj ; if ( ObjectUtils . notEqual ( toPattern , rhs . toPattern ) ) { return false ; } if ( ObjectUtils . notEqual ( registry , rhs . registry ) ) { return false ; } return true ; }
check if this extended message format is equal to another object .
