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

ASF GitHub Bot commented on LANG-781:
-------------------------------------

GitHub user vanta opened a pull request:

    https://github.com/apache/commons-lang/pull/108

    LANG-781 Added methods to ObjectUtils class to check for null element…

    I've created this pull request to refresh the issue LANG-781 as I faced a 
lack of methods to check nulls in array.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vanta/commons-lang master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-lang/pull/108.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #108
    
----
commit b9dfcfd1a18b2d277402084be0bd10faf0cabca4
Author: Krzysztof Wolny <k.wo...@samrtrecruiters.com>
Date:   2015-07-28T12:54:19Z

    LANG-781 Added methods to ObjectUtils class to check for null elements in 
the array

----


> 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
>            Priority: Minor
>              Labels: patch
>             Fix For: Discussion
>
>         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)

Reply via email to