poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r743484 - in /poi/trunk/src/java/org/apache/poi/hssf/record: ExternSheetRecord.java RecalcIdRecord.java
Date Wed, 11 Feb 2009 20:23:08 GMT
Author: josh
Date: Wed Feb 11 20:23:08 2009
New Revision: 743484

URL: http://svn.apache.org/viewvc?rev=743484&view=rev
Log:
Minor code clean-up

Modified:
    poi/trunk/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java
    poi/trunk/src/java/org/apache/poi/hssf/record/RecalcIdRecord.java

Modified: poi/trunk/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java?rev=743484&r1=743483&r2=743484&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java Wed Feb 11 20:23:08
2009
@@ -32,7 +32,7 @@
 	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) */

Modified: poi/trunk/src/java/org/apache/poi/hssf/record/RecalcIdRecord.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/RecalcIdRecord.java?rev=743484&r1=743483&r2=743484&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/record/RecalcIdRecord.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/record/RecalcIdRecord.java Wed Feb 11 20:23:08
2009
@@ -57,8 +57,8 @@
         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();
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message