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:
Gary D. Gregory 2014-04-10 13:12:12 +00:00
parent 3e33304129
commit 39168bb734
1 changed files with 12 additions and 13 deletions

View File

@ -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