Bug 52895

Summary: Error in LabelSSTRecord method appendValueText
Product: POI Reporter: Dmitry Yakubovich <dmitry>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   

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