This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch for ArrayList.removeRange()
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: java-patches at gcc dot gnu dot org
- Date: Sat, 06 Apr 2002 18:00:32 +1200
- Subject: Re: Patch for ArrayList.removeRange()
- References: <1018045920.915.290.camel@elsschot>
Mark Wielaard wrote:
>This patch cleans up some Mauve failures. It is similar to a patch that
>Bryce posted to the java@gcc.gnu.org list. This one also does nothing
>(as the spec says) when toIndex equals fromIndex, to prevent changing
>modCount.
>
>2002-04-05 Mark Wielaard <mark@klomp.org>
>
> * java/util/ArrayList.jva (removeRange): If toIndex == fromIndex do
> nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
>
>OK to commit to branch/mainline?
>
OK
Bryce