Skip to content

Commit 6d13139

Browse files
committed
Javadoc
1 parent 6a4979b commit 6d13139

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/apache/commons/lang3/CharSequenceUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ static int lastIndexOf(final CharSequence cs, final int searchChar, int start) {
281281
}
282282

283283
/**
284-
* Green implementation of regionMatches.
284+
* Tests if two string regions are equal.
285285
*
286286
* @param cs the {@link CharSequence} to be processed.
287287
* @param ignoreCase whether or not to be case-insensitive.
@@ -294,6 +294,7 @@ static int lastIndexOf(final CharSequence cs, final int searchChar, int start) {
294294
*/
295295
static boolean regionMatches(final CharSequence cs, final boolean ignoreCase, final int thisStart,
296296
final CharSequence substring, final int start, final int length) {
297+
// Green implementation of regionMatches.
297298
if (cs instanceof String && substring instanceof String) {
298299
return ((String) cs).regionMatches(ignoreCase, thisStart, (String) substring, start, length);
299300
}

0 commit comments

Comments
 (0)