commons-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/SANDBOX-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295252#comment-13295252
] 

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: https://issues.apache.org/jira/browse/SANDBOX-399
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message