commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Kelly (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COLLECTIONS-249) SetUniqueList.addAll(int index, Collection coll) adds to end of list instead of at specified index
Date Fri, 20 Apr 2007 19:38:15 GMT

     [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message