1 |
/* Buffer.java -- |
/* Buffer.java -- |
2 |
Copyright (C) 2002, 2003 Free Software Foundation, Inc. |
Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
345 |
* @exception IndexOutOfBoundsException If the preconditions on the offset |
* @exception IndexOutOfBoundsException If the preconditions on the offset |
346 |
* and length parameters do not hold |
* and length parameters do not hold |
347 |
*/ |
*/ |
348 |
final static void checkArraySize(int arraylength, int offset, int length) |
static final void checkArraySize(int arraylength, int offset, int length) |
349 |
{ |
{ |
350 |
if ((offset < 0) || |
if ((offset < 0) || |
351 |
(length < 0) || |
(length < 0) || |