No need conditions. Never is < 0 (#962)

This commit is contained in:
Arturo Bernal 2022-10-08 14:11:47 +02:00 committed by GitHub
parent 912682d0bb
commit a3a93d53a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ public class CharSequenceUtils {
start = len1;
}
if (start < 0 || len2 < 0 || len2 > len1) {
if (start < 0 || len2 > len1) {
return NOT_FOUND;
}