poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r711746 - /poi/trunk/src/testcases/org/apache/poi/hssf/record/TestUnicodeString.java
Date Wed, 05 Nov 2008 23:45:43 GMT
Author: josh
Date: Wed Nov  5 15:45:42 2008
New Revision: 711746

URL: http://svn.apache.org/viewvc?rev=711746&view=rev
Log:
Fixed mistake in test case.  Constant value was 4 bytes too large (should be max *data* size
not max *record* size).

Modified:
    poi/trunk/src/testcases/org/apache/poi/hssf/record/TestUnicodeString.java

Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/TestUnicodeString.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/TestUnicodeString.java?rev=711746&r1=711745&r2=711746&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/hssf/record/TestUnicodeString.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/hssf/record/TestUnicodeString.java Wed Nov  5 15:45:42
2008
@@ -25,7 +25,7 @@
  * @author Jason Height (jheight at apache.org)
  */
 public final class TestUnicodeString extends TestCase {
-	private static final int MAX_DATA_SIZE = SSTRecord.MAX_RECORD_SIZE;
+    private static final int MAX_DATA_SIZE = RecordInputStream.MAX_RECORD_DATA_SIZE;
 
     /** a 4 character string requiring 16 bit encoding */
     private static final String STR_16_BIT = "A\u591A\u8A00\u8A9E";



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


Mime
View raw message