[
https://issues.apache.org/jira/browse/LANG-1659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17345625#comment-17345625
]
Arturo Bernal commented on LANG-1659:
-------------------------------------
Hi
The idea behind this it's centralize the commons functionality. There a lot of
examples in commons-ang.
And using getClass().isArray() does not prevent NPE
TY
> 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)