Description
The Pattern validator currently casts the object to be validated to String. I should rather call toString(). In conjunction with an appropriate Translator, this allows "string-like" domain-specific data-types to be validated easily.
The Pattern validator currently casts the object to be validated to String. I should rather call toString(). In conjunction with an appropriate Translator, this allows "string-like" domain-specific data-types to be validated easily.