Bug 52895 - Error in LabelSSTRecord method appendValueText
Summary: Error in LabelSSTRecord method appendValueText
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: unspecified
Hardware: PC Windows Vista
: P2 minor (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-13 04:20 UTC by Dmitry Yakubovich
Modified: 2012-03-13 07:21 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Yakubovich 2012-03-13 04:20:59 UTC
Error in LabelSSTRecord method appendValueText now:
    protected void appendValueText(StringBuilder sb) {
		sb.append("  .sstIndex = ");
    	sb.append(HexDump.shortToHex(getXFIndex()));  <-- Wrong!!! not getXFIndex
    }

Must be:
  protected void appendValueText(StringBuilder sb) {
		sb.append("  .sstIndex = ");
    	sb.append(HexDump.shortToHex(getSSTIndex()));
    }
Comment 1 Yegor Kozlov 2012-03-13 07:21:20 UTC
Good catch, thanks! Fixed in r1299990.

Yegor