Skip to content

Commit

Permalink
(fixup) and more...
Browse files Browse the repository at this point in the history
  • Loading branch information
kawamuray committed Dec 26, 2024
1 parent f2dbef0 commit e075ffa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private static int localIndex(int index) {

private void ensureBound(int index) {
if (index < 0 || index >= size) {
throw new IndexOutOfBoundsException(index);
throw new IndexOutOfBoundsException("Index out of range: " + index);
}
}

Expand Down

0 comments on commit e075ffa

Please sign in to comment.