No need to nest.
This commit is contained in:
parent
bb017e0d4d
commit
10f6a80c96
|
@ -278,11 +278,10 @@ public class CharSequenceUtils {
|
|||
}
|
||||
if (checkLaterThan1(cs, searchChar, len2, i)) {
|
||||
return i;
|
||||
} else {
|
||||
i--;
|
||||
if (i < 0) {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
i--;
|
||||
if (i < 0) {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue