commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Carlson <>
Subject [Collections] IteratorChain bug
Date Thu, 31 Oct 2002 21:28:51 GMT
The 2.1 collections release is very cool.  Thanks.

I just found a bug in the 2.1 IteratorChain implementation
of Iterator.  The TestIteratorChain class doesn't appear to
test the following situation:

If the first iterator has no elements and the second does,
then the hasNext() method returns false the first time it
is called.  However, it should return true because the
second iterator has items.


Jonathan Carlson
Minneapolis, Minnesota

Jonathan Carlson
Minneapolis, Minnesota

Do you Yahoo!?
HotJobs - Search new jobs daily now

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message