From: Josh Micich Date: Wed, 11 Feb 2009 20:23:08 +0000 (+0000) Subject: Minor code clean-up X-Git-Tag: REL_3_5_BETA6~126 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fd196fea1e660c14bdc6e48ee10c2256a59aa84d;p=poi.git Minor code clean-up git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@743484 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java b/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java index af6b9731a0..0999b2cdc0 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 00efceb6a7..7b416a909a 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(); }