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:
Avik Sengupta 2003-07-01 14:52:15 +00:00
parent a67d868825
commit c472df8fd1
1 changed files with 1 additions and 1 deletions

View File

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