]> source.dussan.org Git - poi.git/commitdiff
Minor code clean-up
authorJosh Micich <josh@apache.org>
Wed, 11 Feb 2009 20:23:08 +0000 (20:23 +0000)
committerJosh Micich <josh@apache.org>
Wed, 11 Feb 2009 20:23:08 +0000 (20:23 +0000)
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
src/java/org/apache/poi/hssf/record/RecalcIdRecord.java

index af6b9731a0e2a6f74d03cb95feb46eab6f0eed9e..0999b2cdc081223cead4571b3db1d815d1d897b3 100644 (file)
@@ -32,7 +32,7 @@ public class ExternSheetRecord extends StandardRecord {
        public final static short sid = 0x0017;
        private List<RefSubRecord> _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) */
index 00efceb6a7aba88c8fc2ba3bd5b76450e5b4e08d..7b416a909aecc3e3ed072f5d6f8119e2bd67041e 100644 (file)
@@ -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();
     }