commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Savin (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (COLLECTIONS-657) "union" method is resulting in data loss
Date Tue, 19 Sep 2017 18:39:00 GMT

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

Igor Savin closed COLLECTIONS-657.
----------------------------------
    Resolution: Invalid

> "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)

Mime
View raw message