[ 
https://issues.apache.org/jira/browse/COLLECTIONS-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Kelly updated COLLECTIONS-249:
----------------------------------

    Attachment: SetUniqueList.patch

Here is a patch to SetUniqueList, which fixes the bug. In addition, it also 
includes suggested fixes to the Javadoc comments for addAll(Collection coll) 
and addAll(int index, Collection coll), which seemed to be incorrect.

After applying the patch, the patched test (see previous attachment) passes.

> SetUniqueList.addAll(int index, Collection coll) adds to end of list instead 
> of at specified index
> --------------------------------------------------------------------------------------------------
>
>                 Key: COLLECTIONS-249
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-249
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: List
>    Affects Versions: 3.2
>            Reporter: Joe Kelly
>            Priority: Minor
>         Attachments: SetUniqueList.patch, TestSetUniqueList.patch
>
>
> When you call SetUniqueList.addAll(int index, Collection coll), it 
> incorrectly adds the new elements to the end of the list instead of at the 
> specified index.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to