commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morgan Delagrange <mdela...@yahoo.com>
Subject Re: [Collections] IteratorChain bug
Date Thu, 31 Oct 2002 22:03:25 GMT
I was about to commit exactly the same change.  And
your unit test is better, you bastard.  ;)

- Morgan

--- Rodney Waldhoff <rwaldhoff@apache.org> wrote:
> I think I beat you to it, but please review.
> 
> On Thu, 31 Oct 2002, Morgan Delagrange wrote:
> 
> > Good point, I believe you are correct just looking
> at
> > the source.  Looks like it's pretty easy to fix,
> so
> > I'll try to do so.
> >
> > - Morgan
> >
> > --- Jonathan Carlson <joncrlsn2@yahoo.com> wrote:
> > > 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>
> > >
> >
> >
> > =====
> > Morgan Delagrange
> > http://jakarta.apache.org/taglibs
> > http://jakarta.apache.org/commons
> > http://axion.tigris.org
> > http://jakarta.apache.org/watchdog
> >
> > __________________________________________________
> > 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>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:commons-dev-help@jakarta.apache.org>
> 


=====
Morgan Delagrange
http://jakarta.apache.org/taglibs
http://jakarta.apache.org/commons
http://axion.tigris.org
http://jakarta.apache.org/watchdog

__________________________________________________
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