]> source.dussan.org Git - poi.git/commitdiff
fixed record name in toString() close element
authorJosh Micich <josh@apache.org>
Tue, 10 Feb 2009 03:41:08 +0000 (03:41 +0000)
committerJosh Micich <josh@apache.org>
Tue, 10 Feb 2009 03:41:08 +0000 (03:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@742839 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hssf/record/CellRecord.java

index 99ba1dde6d913c9bf37c47593ae5f8de7817746a..5f0646a9a043bebc1c5c4329e760122a27898fca 100644 (file)
@@ -87,7 +87,7 @@ public abstract class CellRecord extends StandardRecord implements CellValueReco
                sb.append("    .xfindex= ").append(HexDump.shortToHex(getXFIndex())).append("\n");\r
                appendValueText(sb);\r
                sb.append("\n");\r
-               sb.append("[/NUMBER]\n");\r
+               sb.append("[/").append(recordName).append("]\n");\r
                return sb.toString();\r
        }\r
 \r