]> source.dussan.org Git - poi.git/commitdiff
Removed some unused fields. This commit shall be known as the mini-performance-branc...
authorGlen Stampoultzis <glens@apache.org>
Thu, 26 Jun 2003 13:00:04 +0000 (13:00 +0000)
committerGlen Stampoultzis <glens@apache.org>
Thu, 26 Jun 2003 13:00:04 +0000 (13:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353159 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hssf/record/Record.java

index 778302605411db015b0bd81bdefe0ee0d0330769..bd4e73789ff32809d1e82ce2c026a86ec8d785a6 100644 (file)
@@ -70,16 +70,6 @@ package org.apache.poi.hssf.record;
 public abstract class Record
 {
 
-    /**
-     * The static ID, subclasses should override this value with the id for the
-     * record type they handle.
-     */
-
-    public short   sid  = 0;
-    private short  id   = 0;
-    private short  size = 0;
-    private byte[] data = null;
-
     /**
      * instantiates a blank record strictly for ID matching
      */
@@ -98,9 +88,6 @@ public abstract class Record
 
     public Record(short id, short size, byte [] data)
     {
-        this.id   = id;
-        this.size = size;
-        this.data = data;
         validateSid(id);
         fillFields(data, size);
     }
@@ -115,9 +102,6 @@ public abstract class Record
 
     public Record(short id, short size, byte [] data, int offset)
     {
-        this.id   = id;
-        this.size = size;
-        this.data = data;
         validateSid(id);
         fillFields(data, size, offset);
     }