commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Carlson <joncrl...@yahoo.com>
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.

Thanks!

Jonathan Carlson
Minneapolis, Minnesota

=====
Jonathan Carlson
joncrlsn@users.sf.net
Minneapolis, Minnesota

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message