# | Line 343 | Line 343 | public class ArrayList<E> extends Abstra | |
---|---|---|
343 | // Positional Access Operations | |
344 | ||
345 | /** | |
346 | < | * Create and return an appropriate exception for indexing errors |
346 | > | * Creates and returns an appropriate exception for indexing errors. |
347 | */ | |
348 | private static IndexOutOfBoundsException rangeException(int i, int s) { | |
349 | return new IndexOutOfBoundsException("Index: " + i + ", Size: " + s); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |