[bv-dev] BVAL-192 'exclusive' flag for @DecimalMin/@DecimalMax

Gunnar Morling gunnar at hibernate.org
Tue Dec 11 09:01:13 EST 2012


> (newborn baby is my excuse).

Hey, congratulations! All the best for you and your family!


2012/12/11 Rich Midwinter <rich.midwinter at gmail.com>

> >> @DecimalMax(value = "0.0", exclusive = true)
> >
> > Can we name it "inclusive" rather than "exclusive"? Personally I prefer
> > positive variable/method names as I think they read better, in particular
> > when it comes to negation.
>
> I think inclusive also has a clearer meaning, it took me three reads
> through to work out what the purpose was. I wondered if Hardy picked
> exclusive for a sensible default value, but gave up trying to get my
> head around it (newborn baby is my excuse).
> _______________________________________________
> 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/20121211/925e2b65/attachment-0001.html 


More information about the beanvalidation-dev mailing list