From dcbd0fadcbd99c2c7c31512aa78382400bcd738a Mon Sep 17 00:00:00 2001 From: Glen Stampoultzis Date: Thu, 26 Jun 2003 13:00:04 +0000 Subject: [PATCH] Removed some unused fields. This commit shall be known as the mini-performance-branch-which-is-not-actually-a-branch. 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 | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/java/org/apache/poi/hssf/record/Record.java b/src/java/org/apache/poi/hssf/record/Record.java index 7783026054..bd4e73789f 100644 --- a/src/java/org/apache/poi/hssf/record/Record.java +++ b/src/java/org/apache/poi/hssf/record/Record.java @@ -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); } -- 2.39.5