compile under jdk1.2.2

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352677 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Avik Sengupta 2002-06-12 07:50:29 +00:00
parent 8f3e68ccff
commit 753c2d7c6d
6 changed files with 7 additions and 7 deletions

View File

@ -68,7 +68,7 @@ import org.apache.poi.hssf.util.RangeAddress;
public class Area3DPtg extends Ptg
{
public final static short sid = 0x3b;
public final static byte sid = 0x3b;
private final static int SIZE = 11; // 10 + 1 for Ptg
private short field_1_index_extern_sheet;
private short field_2_first_row;

View File

@ -75,7 +75,7 @@ import java.util.List;
public class AttrPtg
extends OperationPtg
{
public final static short sid = 0x19;
public final static byte sid = 0x19;
private final static int SIZE = 4;
private byte field_1_options;
private short field_2_data;

View File

@ -3,7 +3,7 @@ import org.apache.poi.util.LittleEndian;
public class FuncPtg extends AbstractFunctionPtg{
public final static short sid = 0x21;
public final static byte sid = 0x21;
private int numParams=0;
/**Creates new function pointer from a byte array
* usually called while reading an excel file.
@ -20,7 +20,7 @@ public class FuncPtg extends AbstractFunctionPtg{
}
public void writeBytes(byte[] array, int offset) {
array[offset+0]=(byte) (sid + ptgClass);
array[offset+0]= (byte) (sid + ptgClass);
//array[offset+1]=field_1_num_args;
LittleEndian.putShort(array,offset+1,field_2_fnc_index);
}

View File

@ -2,7 +2,7 @@ package org.apache.poi.hssf.record.formula;
import org.apache.poi.util.LittleEndian;
public class FuncVarPtg extends AbstractFunctionPtg{
public final static short sid = 0x22;
public final static byte sid = 0x22;
/**Creates new function pointer from a byte array
* usually called while reading an excel file.

View File

@ -68,7 +68,7 @@ import org.apache.poi.hssf.util.RangeAddress;
*/
public class Ref3DPtg extends Ptg {
public final static short sid = 0x3a;
public final static byte sid = 0x3a;
private final static int SIZE = 7; // 6 + 1 for Ptg
private short field_1_index_extern_sheet;
private short field_2_row;

View File

@ -71,7 +71,7 @@ public class TestSCLRecord
extends TestCase
{
byte[] data = new byte[] {
(short)0x3,(short)0x0,(short)0x4,(short)0x0
(byte)0x3,(byte)0x0,(byte)0x4,(byte)0x0
};
public TestSCLRecord(String name)