diff --git a/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java b/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java index af6b9731a..0999b2cdc 100644 --- a/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java +++ b/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java @@ -32,7 +32,7 @@ public class ExternSheetRecord extends StandardRecord { public final static short sid = 0x0017; private List _list; - private final class RefSubRecord { + private static final class RefSubRecord { public static final int ENCODED_SIZE = 6; /** index to External Book Block (which starts with a EXTERNALBOOK record) */ diff --git a/src/java/org/apache/poi/hssf/record/RecalcIdRecord.java b/src/java/org/apache/poi/hssf/record/RecalcIdRecord.java index 00efceb6a..7b416a909 100644 --- a/src/java/org/apache/poi/hssf/record/RecalcIdRecord.java +++ b/src/java/org/apache/poi/hssf/record/RecalcIdRecord.java @@ -57,8 +57,8 @@ public final class RecalcIdRecord extends StandardRecord { StringBuffer buffer = new StringBuffer(); buffer.append("[RECALCID]\n"); - buffer.append(" .reserved = ").append(HexDump.shortToHex(_reserved0)); - buffer.append(" .engineId = ").append(HexDump.intToHex(_engineId)); + buffer.append(" .reserved = ").append(HexDump.shortToHex(_reserved0)).append("\n"); + buffer.append(" .engineId = ").append(HexDump.intToHex(_engineId)).append("\n"); buffer.append("[/RECALCID]\n"); return buffer.toString(); }