You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by gl...@apache.org on 2004/04/12 04:25:15 UTC
cvs commit: jakarta-poi/src/testcases/org/apache/poi/util TestHexDump.java
glens 2004/04/11 19:25:15
Modified: src/java/org/apache/poi/util HexDump.java
src/testcases/org/apache/poi/util TestHexDump.java
Log:
Fixed error with HexDump.java
Revision Changes Path
1.14 +1 -1 jakarta-poi/src/java/org/apache/poi/util/HexDump.java
Index: HexDump.java
===================================================================
RCS file: /home/cvs/jakarta-poi/src/java/org/apache/poi/util/HexDump.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- HexDump.java 9 Apr 2004 13:05:27 -0000 1.13
+++ HexDump.java 12 Apr 2004 02:25:14 -0000 1.14
@@ -225,7 +225,7 @@
buf.setLength(0);
for (int j = 0; j < 8; j++)
{
- buf.append( _hexcodes[ (( int ) (value >> _shifts[ j ])) & 15 ]);
+ buf.append( _hexcodes[ (( int ) (value >> _shifts[ j + _shifts.length - 8 ])) & 15 ]);
}
return buf.toString();
}
1.5 +0 -0 jakarta-poi/src/testcases/org/apache/poi/util/TestHexDump.java
Index: TestHexDump.java
===================================================================
RCS file: /home/cvs/jakarta-poi/src/testcases/org/apache/poi/util/TestHexDump.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org