MERGE from REL_2_BRANCH: Bug id 20696
Workbook.getSheetIndex() needs to ignore case. Submitted by Eric Lander git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353259 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
942a0ea929
commit
385be78c67
@ -513,7 +513,7 @@ public class Workbook implements Model {
|
||||
for (int k = 0; k < boundsheets.size(); k++) {
|
||||
String sheet = getSheetName(k);
|
||||
|
||||
if (sheet.equals(name)) {
|
||||
if (sheet.equalsIgnoreCase(name)) {
|
||||
retval = k;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user