You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by gl...@apache.org on 2003/06/26 15:00:05 UTC
cvs commit: jakarta-poi/src/java/org/apache/poi/hssf/record Record.java
glens 2003/06/26 06:00:04
Modified: src/java/org/apache/poi/hssf/record Tag: REL_2_BRANCH
Record.java
Log:
Removed some unused fields. This commit shall be known as the mini-performance-branch-which-is-not-actually-a-branch.
Revision Changes Path
No revision
No revision
1.5.2.1 +0 -16 jakarta-poi/src/java/org/apache/poi/hssf/record/Record.java
Index: Record.java
===================================================================
RCS file: /home/cvs/jakarta-poi/src/java/org/apache/poi/hssf/record/Record.java,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- Record.java 30 Apr 2003 04:38:47 -0000 1.5
+++ Record.java 26 Jun 2003 13:00:04 -0000 1.5.2.1
@@ -71,16 +71,6 @@
{
/**
- * 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 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 Record(short id, short size, byte [] data, int offset)
{
- this.id = id;
- this.size = size;
- this.data = data;
validateSid(id);
fillFields(data, size, offset);
}