[bv-dev] OverridesAttribute questions

Matt Benson mbenson at apache.org
Sat Jun 3 18:28:02 EDT 2017


I have a couple of questions about @OverridesAttribute:

1. The spec says that #name() defaults to the name of the annotated
attribute, but there is actually no default value declared. Should(n't) we
declare as ""?

2. I don't have a clear understanding from the spec what the expectations
are if there is a single override specified using the default
constraintIndex value, but with multiple composing constraints of the
specified type. Does the override apply to all? Is it an error?

Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/beanvalidation-dev/attachments/20170603/a65bbe36/attachment.html 


More information about the beanvalidation-dev mailing list