You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/01/27 01:08:32 UTC
(commons-collections) branch master updated: Remove unused exception
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git
The following commit(s) were added to refs/heads/master by this push:
new 3fce6dbb0 Remove unused exception
3fce6dbb0 is described below
commit 3fce6dbb00e3dc8b8405385eda5e940184766b0b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jan 26 20:08:27 2024 -0500
Remove unused exception
---
src/main/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<E> extends AbstractList<E> {
* @param parent the parent list
* @param fromIndex the index to start at
*/
- protected TreeListIterator(final TreeList<E> parent, final int fromIndex) throws IndexOutOfBoundsException {
+ protected TreeListIterator(final TreeList<E> parent, final int fromIndex) {
this.parent = parent;
this.expectedModCount = parent.modCount;
this.next = parent.root == null ? null : parent.root.get(fromIndex);