[bv-dev] Making ConstraintValidator#initialize() a default method
Michael Nascimento
misterm at gmail.com
Mon Jan 16 06:54:04 EST 2017
It's compelling, +1
Regards,
Michael
On Mon, Jan 16, 2017 at 9:43 AM, Gunnar Morling <gunnar at hibernate.org>
wrote:
> Hi,
>
> Someone suggested, now that we require Java 8, to make
> ConstraintValidator#initialize() a (no-op) default method [1].
>
> This will save implementors of constraints without any attributes from
> providing their own empty implementation.
>
> I think it's a compelling idea; does anyone see a reason speaking against
> it?
>
> Thanks,
>
> --Gunnar
>
> [1] https://hibernate.atlassian.net/projects/BVAL/issues/BVAL-555
> _______________________________________________
> beanvalidation-dev mailing list
> beanvalidation-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/beanvalidation-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/beanvalidation-dev/attachments/20170116/ff639e0d/attachment.html
More information about the beanvalidation-dev
mailing list