Foramtting.
This commit is contained in:
parent
8e687f1cf2
commit
4aef230954
|
@ -31,10 +31,7 @@ public class CharSequenceUtils {
|
|||
|
||||
private static boolean checkLaterThan1(final CharSequence cs, final CharSequence searchChar, final int len2, final int start1) {
|
||||
for (int i = 1, j = len2 - 1; i <= j; i++, j--) {
|
||||
if (cs.charAt(start1 + i) != searchChar.charAt(i)
|
||||
||
|
||||
cs.charAt(start1 + j) != searchChar.charAt(j)
|
||||
) {
|
||||
if (cs.charAt(start1 + i) != searchChar.charAt(i) || cs.charAt(start1 + j) != searchChar.charAt(j)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue