From 7c64962203808e1b3b062cbf18d38a7e4ca2082c Mon Sep 17 00:00:00 2001 From: "Andrew C. Oliver" Date: Thu, 21 Mar 2002 00:49:36 +0000 Subject: [PATCH] I don't remember but I'm sure it was something PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352258 13f79535-47bb-0310-9956-ffa450edef68 --- src/types/styles/hdftype.xsl | 43 +----------------------------------- 1 file changed, 1 insertion(+), 42 deletions(-) diff --git a/src/types/styles/hdftype.xsl b/src/types/styles/hdftype.xsl index de07f12f9..95a173348 100644 --- a/src/types/styles/hdftype.xsl +++ b/src/types/styles/hdftype.xsl @@ -68,6 +68,7 @@ import org.apache.poi.util.BitField; import org.apache.poi.util.LittleEndian; import org.apache.poi.util.StringUtil; import org.apache.poi.util.HexDump; +import org.apache.poi.hdf.model.hdftypes.HDFType; /** * @@ -91,48 +92,6 @@ public class Type } - /** - * Constructs a record and sets its fields appropriately. - * - * @param id id must be or an exception - * will be throw upon validation - * @param size size the size of the data area of the record - * @param data data of the record (should not contain sid/len) - */ - - public Type(short id, short size, byte [] data) - { - super(id, size, data); - } - - /** - * Constructs a record and sets its fields appropriately. - * - * @param id id must be or an exception - * will be throw upon validation - * @param size size the size of the data area of the record - * @param data data of the record (should not contain sid/len) - * @param offset of the record's data - */ - - public Type(short id, short size, byte [] data, int offset) - { - super(id, size, data, offset); - } - - /** - * Checks the sid matches the expected side for this record - * - * @param id the expected sid. - */ - protected void validateSid(short id) - { - if (id != sid) - { - throw new HDFTypeFormatException("Not a record"); - } - } - protected void fillFields(byte [] data, short size, int offset) {