mirror of https://github.com/apache/poi.git
Added toString debug method to MemAreaPtg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@761862 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
93d7983560
commit
7b9803652a
|
@ -23,7 +23,7 @@ import org.apache.poi.util.LittleEndianOutput;
|
|||
/**
|
||||
* @author Daniel Noll (daniel at nuix dot com dot au)
|
||||
*/
|
||||
public class MemAreaPtg extends OperandPtg {
|
||||
public final class MemAreaPtg extends OperandPtg {
|
||||
public final static short sid = 0x26;
|
||||
private final static int SIZE = 7;
|
||||
private final int field_1_reserved;
|
||||
|
@ -58,4 +58,13 @@ public class MemAreaPtg extends OperandPtg {
|
|||
public byte getDefaultOperandClass() {
|
||||
return Ptg.CLASS_VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final String toString() {
|
||||
StringBuffer sb = new StringBuffer(64);
|
||||
sb.append(getClass().getName()).append(" [len=");
|
||||
sb.append(field_2_subex_len);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue