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