On Mon, May 4, 2015 at 9:26 PM, Martin Grigorov <mgrigo...@apache.org>
wrote:

> What's wrong with 'instanceof'+casting?
>

Nothing, except it's more verbose. I'll go do that.

I was wondering if it might be worth it to add a way to define the error
keys with a setter of PatternValidator. We usually override the message to
make it understandable by the user (a regexp doesn't qualify as
understandable for most users). Are we the only ones?

If it's of some interest, I can prepare a PR for that.

-- 
Guillaume

Reply via email to