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 2026/07/09 23:48:18 UTC
(commons-collections) 18/49: Add missing Javadoc and tags.
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 c03e4856f79f895de8169dbe3332af7c564d85fc
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jul 9 19:16:46 2026 -0400
Add missing Javadoc and tags.
---
.../collections4/iterators/UnmodifiableMapIterator.java | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/main/java/org/apache/commons/collections4/iterators/UnmodifiableMapIterator.java b/src/main/java/org/apache/commons/collections4/iterators/UnmodifiableMapIterator.java
index b69f00208..ef602ed14 100644
--- a/src/main/java/org/apache/commons/collections4/iterators/UnmodifiableMapIterator.java
+++ b/src/main/java/org/apache/commons/collections4/iterators/UnmodifiableMapIterator.java
@@ -85,11 +85,22 @@ public final class UnmodifiableMapIterator<K, V> implements MapIterator<K, V>, U
return iterator.next();
}
+ /**
+ * Always throws {@link UnsupportedOperationException}.
+ *
+ * @throws UnsupportedOperationException Always thrown.
+ */
@Override
public void remove() {
throw new UnsupportedOperationException("remove() is not supported");
}
+ /**
+ * Always throws {@link UnsupportedOperationException}.
+ *
+ * @param value Ignored.
+ * @throws UnsupportedOperationException Always thrown.
+ */
@Override
public V setValue(final V value) {
throw new UnsupportedOperationException("setValue() is not supported");