This is an automated email from the ASF dual-hosted git repository.

garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git

commit 4bcf30fc459169836a527f76af66440b7c362ab6
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Jul 9 19:19:31 2026 -0400

    Add missing Javadoc and tags.
---
 .../collections4/list/UnmodifiableList.java        | 66 ++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git 
a/src/main/java/org/apache/commons/collections4/list/UnmodifiableList.java 
b/src/main/java/org/apache/commons/collections4/list/UnmodifiableList.java
index da9175410..ffb0de7cd 100644
--- a/src/main/java/org/apache/commons/collections4/list/UnmodifiableList.java
+++ b/src/main/java/org/apache/commons/collections4/list/UnmodifiableList.java
@@ -74,26 +74,57 @@ public final class UnmodifiableList<E>
         super((List<E>) list);
     }
 
+    /**
+     * Always throws {@link UnsupportedOperationException}.
+     *
+     * @param index Ignored.
+     * @param object Ignored.
+     * @throws UnsupportedOperationException Always thrown.
+     */
     @Override
     public void add(final int index, final E object) {
         throw new UnsupportedOperationException();
     }
 
+    /**
+     * Always throws {@link UnsupportedOperationException}.
+     *
+     * @param object Ignored.
+     * @throws UnsupportedOperationException Always thrown.
+     */
     @Override
     public boolean add(final Object object) {
         throw new UnsupportedOperationException();
     }
 
+    /**
+     * Always throws {@link UnsupportedOperationException}.
+     *
+     * @param coll Ignored.
+     * @throws UnsupportedOperationException Always thrown.
+     */
     @Override
     public boolean addAll(final Collection<? extends E> coll) {
         throw new UnsupportedOperationException();
     }
 
+    /**
+     * Always throws {@link UnsupportedOperationException}.
+     *
+     * @param index Ignored.
+     * @param coll Ignored.
+     * @throws UnsupportedOperationException Always thrown.
+     */
     @Override
     public boolean addAll(final int index, final Collection<? extends E> coll) 
{
         throw new UnsupportedOperationException();
     }
 
+    /**
+     * Always throws {@link UnsupportedOperationException}.
+     *
+     * @throws UnsupportedOperationException Always thrown.
+     */
     @Override
     public void clear() {
         throw new UnsupportedOperationException();
@@ -114,22 +145,44 @@ public final class UnmodifiableList<E>
         return 
UnmodifiableListIterator.unmodifiableListIterator(decorated().listIterator(index));
     }
 
+    /**
+     * Always throws {@link UnsupportedOperationException}.
+     *
+     * @param index Ignored.
+     * @throws UnsupportedOperationException Always thrown.
+     */
     @Override
     public E remove(final int index) {
         throw new UnsupportedOperationException();
     }
 
+    /**
+     * Always throws {@link UnsupportedOperationException}.
+     *
+     * @param object Ignored.
+     * @throws UnsupportedOperationException Always thrown.
+     */
     @Override
     public boolean remove(final Object object) {
         throw new UnsupportedOperationException();
     }
 
+    /**
+     * Always throws {@link UnsupportedOperationException}.
+     *
+     * @param coll Ignored.
+     * @throws UnsupportedOperationException Always thrown.
+     */
     @Override
     public boolean removeAll(final Collection<?> coll) {
         throw new UnsupportedOperationException();
     }
 
     /**
+     * Always throws {@link UnsupportedOperationException}.
+     *
+     * @param filter Ignored.
+     * @throws UnsupportedOperationException Always thrown.
      * @since 4.4
      */
     @Override
@@ -137,11 +190,24 @@ public final class UnmodifiableList<E>
         throw new UnsupportedOperationException();
     }
 
+    /**
+     * Always throws {@link UnsupportedOperationException}.
+     *
+     * @param coll Ignored.
+     * @throws UnsupportedOperationException Always thrown.
+     */
     @Override
     public boolean retainAll(final Collection<?> coll) {
         throw new UnsupportedOperationException();
     }
 
+    /**
+     * Always throws {@link UnsupportedOperationException}.
+     *
+     * @param index Ignored.
+     * @param object Ignored.
+     * @throws UnsupportedOperationException Always thrown.
+     */
     @Override
     public E set(final int index, final E object) {
         throw new UnsupportedOperationException();

Reply via email to