You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2016/05/28 10:52:12 UTC

[jira] [Resolved] (LANG-781) Null-Check to variable Object parameters - ObjectUtils.isAnyNull

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

Pascal Schumacher resolved LANG-781.
------------------------------------
       Resolution: Fixed
         Assignee: Pascal Schumacher
    Fix Version/s:     (was: Discussion)
                   3.5

> Null-Check to variable Object parameters - ObjectUtils.isAnyNull
> ----------------------------------------------------------------
>
>                 Key: LANG-781
>                 URL: https://issues.apache.org/jira/browse/LANG-781
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>    Affects Versions: 3.1
>            Reporter: Sandro Lehmann
>            Assignee: Pascal Schumacher
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.5
>
>         Attachments: ObjectUtils.java.patch, ObjectUtilsTest.java.patch
>
>
> Sometimes it would be very comfortable, to test a few objects to null. Instead of writing if(obj1==null || obj2==null || ...), using a method like isAnyNull(obj1, obj2, ...) would be much better.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)