mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-13 13:35:53 +00:00
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-collections.git
This commit is contained in:
commit
b398b82c7f
@ -267,7 +267,7 @@ public class CircularFifoQueue<E> extends AbstractCollection<E>
|
|||||||
final int sz = size();
|
final int sz = size();
|
||||||
if (index < 0 || index >= sz) {
|
if (index < 0 || index >= sz) {
|
||||||
throw new NoSuchElementException(
|
throw new NoSuchElementException(
|
||||||
String.format("The specified index (%1$d) is outside the available range [0, %2$d)",
|
String.format("The specified index %1$d is outside the available range [0, %2$d)",
|
||||||
Integer.valueOf(index), Integer.valueOf(sz)));
|
Integer.valueOf(index), Integer.valueOf(sz)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user