You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Igor Savin (JIRA)" <ji...@apache.org> on 2017/09/19 18:13:00 UTC

[jira] [Created] (COLLECTIONS-657) "union" method is resulting in data loss

Igor Savin created COLLECTIONS-657:
--------------------------------------

             Summary: "union" method is resulting in data loss
                 Key: COLLECTIONS-657
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-657
             Project: Commons Collections
          Issue Type: Bug
    Affects Versions: 4.1
            Reporter: Igor Savin
            Priority: Critical


Create 2 instances of StringReader from strings (1 and 2), put them into a list A.
Create empty list B.
Call CollectionUtils.union(A, B);

Expected result: [1, 2]
Actual result: [1, 1].



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)