From fd196fea1e660c14bdc6e48ee10c2256a59aa84d Mon Sep 17 00:00:00 2001 From: Josh Micich Date: Wed, 11 Feb 2009 20:23:08 +0000 Subject: [PATCH] Minor code clean-up git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@743484 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/hssf/record/ExternSheetRecord.java | 2 +- src/java/org/apache/poi/hssf/record/RecalcIdRecord.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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(); } -- 2.39.5