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

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

    Attachment: TestSetUniqueList.patch

Here is a patch to TestSetUniqueList, which shows the bug. When you run it, the 
test fails with the following message "First new element should be at index 0 
expected:<2> but was:<1>". The new unique element was added but it was added in 
the wrong place.

> 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: 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