diff --git a/src/main/java/org/apache/commons/collections4/queue/CircularFifoQueue.java b/src/main/java/org/apache/commons/collections4/queue/CircularFifoQueue.java index f2bef6c89..d74288deb 100644 --- a/src/main/java/org/apache/commons/collections4/queue/CircularFifoQueue.java +++ b/src/main/java/org/apache/commons/collections4/queue/CircularFifoQueue.java @@ -267,7 +267,7 @@ public class CircularFifoQueue extends AbstractCollection final int sz = size(); if (index < 0 || index >= sz) { 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))); }