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 8c314877a61804c0c8dffbad0c91fd1d8d271a43
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Jul 9 19:20:13 2026 -0400

    Inline single-use local variable.
---
 .../apache/commons/collections4/map/ConcurrentReferenceHashMap.java | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java
 
b/src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java
index 36c275be6..9b02d61ed 100644
--- 
a/src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java
+++ 
b/src/main/java/org/apache/commons/collections4/map/ConcurrentReferenceHashMap.java
@@ -565,6 +565,12 @@ public class ConcurrentReferenceHashMap<K, V> extends 
AbstractMap<K, V> implemen
             return this;
         }
 
+        /**
+         * Always throws {@link UnsupportedOperationException}.
+         *
+         * @param value Ignored.
+         * @throws UnsupportedOperationException Always thrown.
+         */
         @Override
         public V setValue(final V value) {
             throw new UnsupportedOperationException();

Reply via email to