Skip to content

Commit 3e2494f

Browse files
committed
Javadoc
1 parent 54a4939 commit 3e2494f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ final class ArrayUtils {
4646
*
4747
* @param array the array to search, may be {@code null}.
4848
* @param objectToFind the object to find, may be {@code null}.
49-
* @return {@code true} if the array contains the object
49+
* @return {@code true} if the array contains the object.
5050
*/
5151
static boolean contains(final Object[] array, final Object objectToFind) {
5252
return indexOf(array, objectToFind) != CollectionUtils.INDEX_NOT_FOUND;
@@ -65,9 +65,9 @@ static boolean contains(final Object[] array, final Object objectToFind) {
6565
*
6666
* @param array the array to search for the object, may be {@code null}.
6767
* @param objectToFind the object to find, may be {@code null}.
68-
* @param startIndex the index to start searching at
68+
* @param startIndex the index to start searching.
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}
70-
* array input
70+
* array input.
7171
*/
7272
static int indexOf(final Object[] array, final Object objectToFind, int startIndex) {
7373
if (array == null) {
@@ -102,7 +102,7 @@ static int indexOf(final Object[] array, final Object objectToFind, int startInd
102102
*
103103
* @param array the array to search for the object, may be {@code null}.
104104
* @param objectToFind the object to find, may be {@code null}.
105-
* @return the index of the object within the array, {@link CollectionUtils#INDEX_NOT_FOUND} ({@code -1}) if not found or {@code null} array input
105+
* @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
*/
107107
static <T> int indexOf(final T[] array, final Object objectToFind) {
108108
return indexOf(array, objectToFind, 0);

0 commit comments

Comments
 (0)