[ https://issues.apache.org/jira/browse/LANG-1659?focusedWorklogId=646603&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-646603 ]
ASF GitHub Bot logged work on LANG-1659: ---------------------------------------- Author: ASF GitHub Bot Created on: 04/Sep/21 14:30 Start Date: 04/Sep/21 14:30 Worklog Time Spent: 10m Work Description: arturobernalg commented on a change in pull request #754: URL: https://github.com/apache/commons-lang/pull/754#discussion_r702291124 ########## File path: src/main/java/org/apache/commons/lang3/ObjectUtils.java ########## @@ -951,6 +951,25 @@ their constant using one of the CONST() utility methods, instead: public final static int MAGIC_NUMBER = CONST(5); */ + /** + * <p>Determine whether the given object is an array: + * either an Object array or a primitive array. Review comment: Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 646603) Time Spent: 2h (was: 1h 50m) > 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: 2h > 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)