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

Jochen Wiedmann commented on LANG-1659:
---------------------------------------

And why wouldn't you want to use getClass().isArray()?

 

I am asking for the following reason: If we were to implement such a method, 
then I couldn't think of another algorithm, so we'd effectively have just a 
wrapper for that.

 

> 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