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 3e2494f41 Javadoc
3e2494f41 is described below
commit 3e2494f4129118607042a6e52edc10334eb07e03
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Nov 28 14:44:53 2025 +0000
Javadoc
---
src/main/java/org/apache/commons/collections4/ArrayUtils.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/collections4/ArrayUtils.java
b/src/main/java/org/apache/commons/collections4/ArrayUtils.java
index a6e6cd785..8fdbab144 100644
--- a/src/main/java/org/apache/commons/collections4/ArrayUtils.java
+++ b/src/main/java/org/apache/commons/collections4/ArrayUtils.java
@@ -46,7 +46,7 @@ final class ArrayUtils {
*
* @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
+ * @return {@code true} if the array contains the object.
*/
static boolean contains(final Object[] array, final Object objectToFind) {
return indexOf(array, objectToFind) != CollectionUtils.INDEX_NOT_FOUND;
@@ -65,9 +65,9 @@ final class ArrayUtils {
*
* @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
+ * @param startIndex the index to start searching.
* @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
+ * array input.
*/
static int indexOf(final Object[] array, final Object objectToFind, int
startIndex) {
if (array == null) {
@@ -102,7 +102,7 @@ final class ArrayUtils {
*
* @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
+ * @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) {
return indexOf(array, objectToFind, 0);