Bug id 20696
Workbook.getSheetIndex() needs to ignore case. Submitted by Eric Lander .. thanks! git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353183 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a67d868825
commit
c472df8fd1
@ -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