@@ -41,9 +41,9 @@ private static boolean checkLaterThan1(final CharSequence cs, final CharSequence
4141 /**
4242 * Used by the indexOf(CharSequence methods) as a green implementation of indexOf.
4343 *
44- * @param cs the {@link CharSequence} to be processed
45- * @param searchChar the {@link CharSequence} to be searched for
46- * @param start the start index
44+ * @param cs the {@link CharSequence} to be processed.
45+ * @param searchChar the {@link CharSequence} to be searched for.
46+ * @param start the start index.
4747 * @return the index where the search sequence was found, or {@code -1} if there is no such occurrence.
4848 */
4949 static int indexOf (final CharSequence cs , final CharSequence searchChar , final int start ) {
@@ -101,11 +101,11 @@ static int indexOf(final CharSequence cs, final CharSequence searchChar, final i
101101 * All indices are specified in {@code char} values (Unicode code units).
102102 * </p>
103103 *
104- * @param cs the {@link CharSequence} to be processed, not null
105- * @param searchChar the char to be searched for
106- * @param start the start index, negative starts at the string start
107- * @return the index where the search char was found, -1 if not found
108- * @since 3.6 updated to behave more like {@link String}
104+ * @param cs the {@link CharSequence} to be processed, not null.
105+ * @param searchChar the char to be searched for.
106+ * @param start the start index, negative starts at the string start.
107+ * @return the index where the search char was found, -1 if not found.
108+ * @since 3.6 updated to behave more like {@link String}.
109109 */
110110 static int indexOf (final CharSequence cs , final int searchChar , int start ) {
111111 if (cs instanceof String ) {
@@ -140,10 +140,10 @@ static int indexOf(final CharSequence cs, final int searchChar, int start) {
140140 /**
141141 * Used by the lastIndexOf(CharSequence methods) as a green implementation of lastIndexOf
142142 *
143- * @param cs the {@link CharSequence} to be processed
144- * @param searchChar the {@link CharSequence} to find
145- * @param start the start index
146- * @return the index where the search sequence was found
143+ * @param cs the {@link CharSequence} to be processed.
144+ * @param searchChar the {@link CharSequence} to find.
145+ * @param start the start index.
146+ * @return the index where the search sequence was found.
147147 */
148148 static int lastIndexOf (final CharSequence cs , final CharSequence searchChar , int start ) {
149149 if (searchChar == null || cs == null ) {
@@ -240,7 +240,7 @@ static int lastIndexOf(final CharSequence cs, final CharSequence searchChar, int
240240 * @param searchChar the char to be searched for.
241241 * @param start the start index, negative returns -1, beyond length starts at end.
242242 * @return the index where the search char was found, -1 if not found.
243- * @since 3.6 updated to behave more like {@link String}
243+ * @since 3.6 updated to behave more like {@link String}.
244244 */
245245 static int lastIndexOf (final CharSequence cs , final int searchChar , int start ) {
246246 if (cs instanceof String ) {
@@ -283,13 +283,13 @@ static int lastIndexOf(final CharSequence cs, final int searchChar, int start) {
283283 /**
284284 * Green implementation of regionMatches.
285285 *
286- * @param cs the {@link CharSequence} to be processed
287- * @param ignoreCase whether or not to be case-insensitive
288- * @param thisStart the index to start on the {@code cs} CharSequence
289- * @param substring the {@link CharSequence} to be looked for
290- * @param start the index to start on the {@code substring} CharSequence
291- * @param length character length of the region
292- * @return whether the region matched
286+ * @param cs the {@link CharSequence} to be processed.
287+ * @param ignoreCase whether or not to be case-insensitive.
288+ * @param thisStart the index to start on the {@code cs} CharSequence.
289+ * @param substring the {@link CharSequence} to be looked for.
290+ * @param start the index to start on the {@code substring} CharSequence.
291+ * @param length character length of the region.
292+ * @return whether the region matched.
293293 * @see String#regionMatches(boolean, int, String, int, int)
294294 */
295295 static boolean regionMatches (final CharSequence cs , final boolean ignoreCase , final int thisStart ,
@@ -346,11 +346,11 @@ static boolean regionMatches(final CharSequence cs, final boolean ignoreCase, fi
346346 * The length (in {@code char}) of the returned sequence is {@code length() - start},
347347 * so if {@code start == end} then an empty sequence is returned.</p>
348348 *
349- * @param cs the specified subsequence, null returns null
350- * @param start the start index, inclusive, valid
351- * @return a new subsequence, may be null
349+ * @param cs the specified subsequence, null returns null.
350+ * @param start the start index, inclusive, valid.
351+ * @return a new subsequence, may be null.
352352 * @throws IndexOutOfBoundsException if {@code start} is negative or if
353- * {@code start} is greater than {@code length()}
353+ * {@code start} is greater than {@code length()}.
354354 */
355355 public static CharSequence subSequence (final CharSequence cs , final int start ) {
356356 return cs == null ? null : cs .subSequence (start , cs .length ());
0 commit comments