[bv-dev] Name for path nodes representing return values
Sebastian Thomschke
sebastian.thomschke at web.de
Fri Feb 8 10:07:40 EST 2013
What if there is a property or method called "returnValue"? I think the
constant string returned should contain a character that is not legal
for java identifier names. E.g. a white space.
seb
On 08.02.2013 12:51, Gunnar Morling wrote:
> Experts,
>
> another issue where we need some feedback is BVAL-368, which is about
> the name of path nodes representing return values.
>
> As per the current draft, Node#getName() returns null in that case.
> Question is, whether we should return something more meaningful, and
> if so, which value.
>
> The RI used to return "$retval" before we change this to match the
> spec. Another obvious option would be "returnValue". Having a
> standardized node name for return value nodes would also help with
> better toString() implementations for j.v.Path (although that's not
> standardized).
>
> Any thoughts?
>
> Thanks,
>
> --Gunnar
>
> [1] https://hibernate.onjira.com/browse/BVAL-368
>
>
> _______________________________________________
> 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/20130208/82274c7d/attachment-0001.html
More information about the beanvalidation-dev
mailing list