[
https://issues.apache.org/jira/browse/COLLECTIONS-882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary D. Gregory updated COLLECTIONS-882:
----------------------------------------
Issue Type: Wish (was: Bug)
> IterableUtils.countMatches should return int
> --------------------------------------------
>
> Key: COLLECTIONS-882
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-882
> Project: Commons Collections
> Issue Type: Wish
> Components: Iterator
> Reporter: Anurag Agarwal
> Priority: Minor
>
> IterableUtils.countMatches internally uses size to compute the size of the
> collection which return int, but the method itself returns long.
>
> Moreover since the input is an iterable, I don't know if it makes sense for
> an iterable to be longer than int bounds
--
This message was sent by Atlassian Jira
(v8.20.10#820010)