Skip to content

Commit e859703

Browse files
committed
Simplify wording
1 parent bdfeabe commit e859703

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/apache/commons/collections4/ArrayUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ final class ArrayUtils {
4444
* The method returns {@code false} if a {@code null} array is passed in.
4545
* </p>
4646
*
47-
* @param array the array to search through
47+
* @param array the array to search
4848
* @param objectToFind the object to find
4949
* @return {@code true} if the array contains the object
5050
*/
@@ -63,7 +63,7 @@ static boolean contains(final Object[] array, final Object objectToFind) {
6363
* A negative startIndex is treated as zero. A startIndex larger than the array length will return {@link CollectionUtils#INDEX_NOT_FOUND} ({@code -1}).
6464
* </p>
6565
*
66-
* @param array the array to search through for the object, may be {@code null}
66+
* @param array the array to search for the object, may be {@code null}
6767
* @param objectToFind the object to find, may be {@code null}
6868
* @param startIndex the index to start searching at
6969
* @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}
@@ -100,7 +100,7 @@ static int indexOf(final Object[] array, final Object objectToFind, int startInd
100100
* This method returns {@link CollectionUtils#INDEX_NOT_FOUND} ({@code -1}) for a {@code null} input array.
101101
* </p>
102102
*
103-
* @param array the array to search through for the object, may be {@code null}
103+
* @param array the array to search for the object, may be {@code null}
104104
* @param objectToFind the object to find, may be {@code null}
105105
* @return the index of the object within the array, {@link CollectionUtils#INDEX_NOT_FOUND} ({@code -1}) if not found or {@code null} array input
106106
*/

0 commit comments

Comments
 (0)