[
https://issues.apache.org/jira/browse/LANG-639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895233#action_12895233
]
James Carman commented on LANG-639:
-----------------------------------
For issues such as this, please use commons user email list
(http://commons.apache.org/lang/mail-lists.html) for support. If we determine
that there is a true bug/issue with the code, we'll urge you to open up a JIRA.
> Compile error using ArrayUtils.add
> ----------------------------------
>
> Key: LANG-639
> URL: https://issues.apache.org/jira/browse/LANG-639
> Project: Commons Lang
> Issue Type: Bug
> Affects Versions: 2.5
> Environment: jdk 6
> Reporter: Zhongxian Gu
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Hi,
> Sorry for bothering. I've googled it but cannot find the solution. I am new
> to commons.lang.
> I tried to use ArrayUtils.add(arrString, aString); but got the following
> compile error. (Here arrString is a type of String[], and aString type of
> String)
> incompatible types
> found : java.lang.Object[]
> required: java.lang.String[]
> String[] sa = ArrayUtils.add(arrString, aString);
> I've also tried other types. All have this compile error. I don't know why.
> Thanks.
> Best
> Zhongxian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.