From 3fce6dbb00e3dc8b8405385eda5e940184766b0b Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Fri, 26 Jan 2024 20:08:27 -0500 Subject: [PATCH] Remove unused exception --- .../java/org/apache/commons/collections4/list/TreeList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/collections4/list/TreeList.java b/src/main/java/org/apache/commons/collections4/list/TreeList.java index 95b5aaf81..55f17700c 100644 --- a/src/main/java/org/apache/commons/collections4/list/TreeList.java +++ b/src/main/java/org/apache/commons/collections4/list/TreeList.java @@ -787,7 +787,7 @@ public class TreeList extends AbstractList { * @param parent the parent list * @param fromIndex the index to start at */ - protected TreeListIterator(final TreeList parent, final int fromIndex) throws IndexOutOfBoundsException { + protected TreeListIterator(final TreeList parent, final int fromIndex) { this.parent = parent; this.expectedModCount = parent.modCount; this.next = parent.root == null ? null : parent.root.get(fromIndex);