Patch for ArrayList.removeRange()

Bryce McKinlay bryce@waitaki.otago.ac.nz
Fri Apr 5 22:01:00 GMT 2002


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




More information about the Java-patches mailing list