poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject cvs commit: jakarta-poi/src/java/org/apache/poi/hssf/model Workbook.java
Date Sun, 27 Jul 2003 18:52:24 GMT
avik        2003/07/27 11:52:24

  Modified:    src/java/org/apache/poi/hssf/model Workbook.java
  Log:
  MERGE from REL_2_BRANCH: Bug id 20696
    Workbook.getSheetIndex() needs to ignore case.
    Submitted by Eric Lander
  
  Revision  Changes    Path
  1.31      +1 -1      jakarta-poi/src/java/org/apache/poi/hssf/model/Workbook.java
  
  Index: Workbook.java
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/src/java/org/apache/poi/hssf/model/Workbook.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- Workbook.java	26 Jun 2003 13:33:47 -0000	1.30
  +++ Workbook.java	27 Jul 2003 18:52:24 -0000	1.31
  @@ -513,7 +513,7 @@
           for (int k = 0; k < boundsheets.size(); k++) {
               String sheet = getSheetName(k);
   
  -            if (sheet.equals(name)) {
  +            if (sheet.equalsIgnoreCase(name)) {
                   retval = k;
                   break;
               }
  
  
  

Mime
View raw message