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 9ead80ce2 Javadoc 9ead80ce2 is described below commit 9ead80ce22c6816bdc4d82b7d895fff284bae944 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed Mar 5 07:11:45 2025 -0500 Javadoc --- .../java/org/apache/commons/collections4/ArrayUtils.java | 12 ++++++------ .../org/apache/commons/collections4/CollectionUtils.java | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/ArrayUtils.java b/src/main/java/org/apache/commons/collections4/ArrayUtils.java index 1d3c16fed..4cea41c9e 100644 --- a/src/main/java/org/apache/commons/collections4/ArrayUtils.java +++ b/src/main/java/org/apache/commons/collections4/ArrayUtils.java @@ -44,8 +44,8 @@ final class ArrayUtils { * The method returns {@code false} if a {@code null} array is passed in. * </p> * - * @param array the array to search - * @param objectToFind the object to find + * @param array the array to search, may be {@code null}. + * @param objectToFind the object to find, may be {@code null}. * @return {@code true} if the array contains the object */ static boolean contains(final Object[] array, final Object objectToFind) { @@ -63,8 +63,8 @@ final class ArrayUtils { * A negative startIndex is treated as zero. A startIndex larger than the array length will return {@link CollectionUtils#INDEX_NOT_FOUND} ({@code -1}). * </p> * - * @param array the array to search for the object, may be {@code null} - * @param objectToFind the object to find, may be {@code null} + * @param array the array to search for the object, may be {@code null}. + * @param objectToFind the object to find, may be {@code null}. * @param startIndex the index to start searching at * @return the index of the object within the array starting at the index, {@link CollectionUtils#INDEX_NOT_FOUND} ({@code -1}) if not found or {@code null} * array input @@ -100,8 +100,8 @@ final class ArrayUtils { * This method returns {@link CollectionUtils#INDEX_NOT_FOUND} ({@code -1}) for a {@code null} input array. * </p> * - * @param array the array to search for the object, may be {@code null} - * @param objectToFind the object to find, may be {@code null} + * @param array the array to search for the object, may be {@code null}. + * @param objectToFind the object to find, may be {@code null}. * @return the index of the object within the array, {@link CollectionUtils#INDEX_NOT_FOUND} ({@code -1}) if not found or {@code null} array input */ static <T> int indexOf(final T[] array, final Object objectToFind) { diff --git a/src/main/java/org/apache/commons/collections4/CollectionUtils.java b/src/main/java/org/apache/commons/collections4/CollectionUtils.java index e73af345d..435e87631 100644 --- a/src/main/java/org/apache/commons/collections4/CollectionUtils.java +++ b/src/main/java/org/apache/commons/collections4/CollectionUtils.java @@ -681,10 +681,10 @@ public class CollectionUtils { * </p> * * @param <T> the type of object to lookup in {@code coll1}. - * @param coll1 the first collection, must not be null - * @param coll2 the second collection, must not be null - * @return {@code true} iff the intersection of the collections is non-empty - * @throws NullPointerException if coll1 or coll2 is null + * @param coll1 the first collection, must not be {@code null}. + * @param coll2 the second collection, must not be {@code null}. + * @return {@code true} iff the intersection of the collections is non-empty. + * @throws NullPointerException if coll1 or coll2 is {@code null}. * @since 4.2 * @see #intersection */