You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "noname713705 (Jira)" <ji...@apache.org> on 2020/03/08 22:24:00 UTC

[jira] [Updated] (COLLECTIONS-756) CollectionUtils.filter(..) broken with blank Collections.singleton

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

noname713705 updated COLLECTIONS-756:
-------------------------------------
    Description: When using {{CollectionUtils.filter(..)}}, if the passed collection is initialized with jdk {{Collections.singleton(..)}} and only contains an {{isBlank(..)}} string, the method will throw an exception instead of removing blank item as expected. Tested with commons-collections:4.4 and java8  (was: When using {{CollectionUtils.filter(..)}}, if the passed collection is initialized with jdk {{Collections.singleton(..)}} and only contains an {{isBlank(..)}} string, the method will throw an exception instead of removing blank items as expected. Tested with commons-collections:4.4 and java8)

> CollectionUtils.filter(..) broken with blank Collections.singleton
> ------------------------------------------------------------------
>
>                 Key: COLLECTIONS-756
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-756
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Collection
>    Affects Versions: 4.4
>            Reporter: noname713705
>            Priority: Major
>
> When using {{CollectionUtils.filter(..)}}, if the passed collection is initialized with jdk {{Collections.singleton(..)}} and only contains an {{isBlank(..)}} string, the method will throw an exception instead of removing blank item as expected. Tested with commons-collections:4.4 and java8



--
This message was sent by Atlassian Jira
(v8.3.4#803005)