Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1586290 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3e33304129
commit
39168bb734
|
@ -115,7 +115,7 @@ public class CharSequenceUtils {
|
|||
static int lastIndexOf(final CharSequence cs, final int searchChar, int start) {
|
||||
if (cs instanceof String) {
|
||||
return ((String) cs).lastIndexOf(searchChar, start);
|
||||
} else {
|
||||
}
|
||||
final int sz = cs.length();
|
||||
if (start < 0) {
|
||||
return -1;
|
||||
|
@ -130,7 +130,6 @@ public class CharSequenceUtils {
|
|||
}
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Used by the lastIndexOf(CharSequence methods) as a green implementation of lastIndexOf
|
||||
|
|
Loading…
Reference in New Issue