You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (Updated) (JIRA)" <ji...@apache.org> on 2012/01/22 16:26:41 UTC

[jira] [Updated] (SANDBOX-365) Extend Assertions for checking null references in arrays

     [ https://issues.apache.org/jira/browse/SANDBOX-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benedikt Ritter updated SANDBOX-365:
------------------------------------

    Attachment: SANDBOX-365.txt

As discussed at SANDBOX-363 I implemented checkNoneIsNull(T[] references). There is no check if the array refernce itself is null (because, as Simone Tripodi pointed out, this is a different concern). The user is responsible for making sure, the input array is not null. I added that to the javadoc.
                
> Extend Assertions for checking null references in arrays
> --------------------------------------------------------
>
>                 Key: SANDBOX-365
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-365
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: BeanUtils2
>    Affects Versions: Nightly Builds
>            Reporter: Benedikt Ritter
>         Attachments: SANDBOX-365.txt
>
>
> As discussed at SANDBOX-363, Assertions should provide a method to make sure an input array does not contain any null references.

--
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