commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <>
Subject [jira] [Commented] (SANDBOX-399) [BeanUtils2] Handle methods that return void separatly
Date Thu, 14 Jun 2012 19:31:42 GMT


Benedikt Ritter commented on SANDBOX-399:

I've reviewed the commit, thanks for your comments. I agree with you on the last point. Those
methods should throw NPE. Otherwise one could not differentiate null from a Bean that defines
no properties (although such a bean would not make much sense  bean ;-)).
> [BeanUtils2] Handle methods that return void separatly
> ------------------------------------------------------
>                 Key: SANDBOX-399
>                 URL:
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: BeanUtils2
>    Affects Versions: Nightly Builds
>            Reporter: Benedikt Ritter
>            Assignee: Simone Tripodi
>         Attachments: SANDBOX-399.txt
> Since {{ArgumentsAccessor.withArguments(...)}} returns a new {{BeanAccessor}} problems
occur if a method's return type is void. To deal with this a Special Case implementation of
BeanAccessor should be invented.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message