commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject Re: [collections] [patch] ArrayIterator#hasNext bug
Date Sat, 26 Apr 2003 05:33:08 GMT

Currently it's   index < endIndex

I imagine Neil meant this.

Hen

On Fri, 25 Apr 2003, Neil O'Toole wrote:

> bug in ArrayIterator#hasNext. Currently:
>
>     public boolean hasNext() {
>         return (index <= endIndex);
>     }
>
> should be:
>
>     public boolean hasNext() {
>         return (index <= endIndex);
>     }
>
> I don't currently have the configuration on this machine to run the
> test suite, so I'd appreciate it if the commmitter could run the suite
> in case this messes anything else up (and maybe add a test case for
> this??).
>
> - Neil
>
>
>


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


Mime
View raw message