poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jhei...@apache.org
Subject cvs commit: jakarta-poi/src/java/org/apache/poi/hssf/model Sheet.java
Date Fri, 26 Aug 2005 03:45:55 GMT
jheight     2005/08/25 20:45:55

  Modified:    src/java/org/apache/poi/hssf/model Sheet.java
  Log:
  Removed the containsLabels variable
  
  Revision  Changes    Path
  1.59      +1 -8      jakarta-poi/src/java/org/apache/poi/hssf/model/Sheet.java
  
  Index: Sheet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/src/java/org/apache/poi/hssf/model/Sheet.java,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- Sheet.java	26 Aug 2005 03:40:33 -0000	1.58
  +++ Sheet.java	26 Aug 2005 03:45:55 -0000	1.59
  @@ -65,7 +65,6 @@
       protected ArrayList                  records           =     null;
                 int                        preoffset         =     0;            // offset
of the sheet in a new file
                 int                        loc               =     0;
  -    protected boolean                    containsLabels    =     false;
       protected int                        dimsloc           =     0;
       protected DimensionsRecord           dims;
       protected DefaultColWidthRecord      defaultcolwidth   =     null;
  @@ -138,13 +137,7 @@
           {
               Record rec = ( Record ) recs.get(k);
   
  -            if (rec.getSid() == LabelRecord.sid)
  -            {
  -                if (log.check( POILogger.DEBUG ))
  -                    log.log(POILogger.DEBUG, "Hit label record.");
  -                retval.containsLabels = true;
  -            }
  -            else if (rec.getSid() == BOFRecord.sid)
  +            if (rec.getSid() == BOFRecord.sid)
               {
                   bofEofNestingLevel++;
                   if (log.check( POILogger.DEBUG ))
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/


Mime
View raw message