Anurag Agarwal created COLLECTIONS-882:
------------------------------------------

             Summary: IterableUtils.countMatches should return int
                 Key: COLLECTIONS-882
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-882
             Project: Commons Collections
          Issue Type: Bug
          Components: Iterator
            Reporter: Anurag Agarwal


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)

Reply via email to