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 0f41461457a52661d596adcac637f68c8244f72c
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Aug 1 07:48:24 2026 -0400

    Javadoc
---
 .../apache/commons/collections4/collection/IndexedCollection.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/collections4/collection/IndexedCollection.java
 
b/src/main/java/org/apache/commons/collections4/collection/IndexedCollection.java
index 312a134cb..c18ca3922 100644
--- 
a/src/main/java/org/apache/commons/collections4/collection/IndexedCollection.java
+++ 
b/src/main/java/org/apache/commons/collections4/collection/IndexedCollection.java
@@ -178,8 +178,8 @@ public class IndexedCollection<K, C> extends 
AbstractCollectionDecorator<C> {
      * with a key, use {@link #values(Object)}.
      * </p>
      *
-     * @param key  key to look up
-     * @return element found
+     * @param key  key to look up.
+     * @return element found.
      * @see #values(Object)
      */
     public C get(final K key) {
@@ -218,7 +218,7 @@ public class IndexedCollection<K, C> extends 
AbstractCollectionDecorator<C> {
     /**
      * Removes an object from the index.
      *
-     * @param object The object to remove
+     * @param object The object to remove.
      */
     private void removeFromIndex(final C object) {
         index.removeMapping(keyTransformer.apply(object), object);
@@ -269,7 +269,7 @@ public class IndexedCollection<K, C> extends 
AbstractCollectionDecorator<C> {
      * @param key  key to look up.
      * @return A collection of elements found, or null if {@code contains(key) 
== false}.
      */
-    @SuppressWarnings("unchecked") // index is a MultiMap which returns a 
Collection
+    @SuppressWarnings("unchecked") // index is a MultiMap which returns a 
Collection.
     public Collection<C> values(final K key) {
         return (Collection<C>) index.get(key);
     }

Reply via email to