From: Nick Burch Date: Mon, 3 Mar 2008 17:47:36 +0000 (+0000) Subject: Fix indent, add more documentation, and make the error message more helpful X-Git-Tag: REL_3_0_3_BETA1~109 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=071e8787e3a22aa7a347e090400186f863757152;p=poi.git Fix indent, add more documentation, and make the error message more helpful git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@633205 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/hssf/record/formula/ArrayPtg.java b/src/java/org/apache/poi/hssf/record/formula/ArrayPtg.java index 372b1850e4..12166b7967 100644 --- a/src/java/org/apache/poi/hssf/record/formula/ArrayPtg.java +++ b/src/java/org/apache/poi/hssf/record/formula/ArrayPtg.java @@ -72,8 +72,10 @@ public class ArrayPtg extends Ptg field_7_reserved = in.readByte(); } - /** Read in the actual token (array) values. This occurs AFTER the last - * Ptg in the expression. + /** + * Read in the actual token (array) values. This occurs + * AFTER the last Ptg in the expression. + * See page 304-305 of Excel97-2007BinaryFileFormat(xls)Specification.pdf */ public void readTokenValues(RecordInputStream in) { token_1_columns = (short)(0x00ff & in.readByte()); @@ -88,18 +90,17 @@ public class ArrayPtg extends Ptg token_3_arrayValues = new Object[token_1_columns][token_2_rows]; for (int x=0;x