No need conditions. Never is < 0 (#962)
This commit is contained in:
parent
912682d0bb
commit
a3a93d53a5
|
@ -170,7 +170,7 @@ public class CharSequenceUtils {
|
||||||
start = len1;
|
start = len1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (start < 0 || len2 < 0 || len2 > len1) {
|
if (start < 0 || len2 > len1) {
|
||||||
return NOT_FOUND;
|
return NOT_FOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue