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:
Avik Sengupta 2003-07-27 18:52:24 +00:00
parent 942a0ea929
commit 385be78c67
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;
}