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

Gary D. Gregory commented on LANG-1659:
---------------------------------------

It might help while writing null safe code.

> Method to check if an object it's an array
> ------------------------------------------
>
>                 Key: LANG-1659
>                 URL: https://issues.apache.org/jira/browse/LANG-1659
>             Project: Commons Lang
>          Issue Type: Improvement
>            Reporter: Arturo Bernal
>            Priority: Major
>              Labels: pull-requests-available
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> The idea it's have a method that determine whether the given object is an 
> array. Change all the reference of .getClass().isArray() in favor of
> {code:java}
> ObjectUtils.isArray(value)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to