poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r722298 - /poi/trunk/src/testcases/org/apache/poi/util/TestLittleEndian.java
Date Tue, 02 Dec 2008 00:01:21 GMT
Author: josh
Date: Mon Dec  1 16:01:21 2008
New Revision: 722298

URL: http://svn.apache.org/viewvc?rev=722298&view=rev
Log:
(bug 46156) fix junit error after c722284

Modified:
    poi/trunk/src/testcases/org/apache/poi/util/TestLittleEndian.java

Modified: poi/trunk/src/testcases/org/apache/poi/util/TestLittleEndian.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/util/TestLittleEndian.java?rev=722298&r1=722297&r2=722298&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/util/TestLittleEndian.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/util/TestLittleEndian.java Mon Dec  1 16:01:21
2008
@@ -84,10 +84,8 @@
     {
         56, 50, -113, -4, -63, -64, -13, 63, 76, -32, -42, -35, 60, -43, 3, 64
     };
-    private static final byte[]   _nan_double_array =
-    {
-        (byte)0x00, (byte)0x00, (byte)0x3C, (byte)0x00, (byte)0x20, (byte)0x04, (byte)0xFF,
(byte)0xFF
-    };
+	/** 0x7ff8000000000000 encoded in little endian order */
+	private static final byte[] _nan_double_array = HexRead.readFromString("00 00 00 00 00 00
F8 7F");
     private static final double[] _doubles      =
     {
         1.23456, 2.47912, Double.NaN



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


Mime
View raw message