From 1af393408e385fe653d08ea94bc7235243f30676 Mon Sep 17 00:00:00 2001 From: Glen Stampoultzis Date: Mon, 12 Apr 2004 02:25:15 +0000 Subject: [PATCH] Fixed error with HexDump.java git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353546 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/util/HexDump.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/poi/util/HexDump.java b/src/java/org/apache/poi/util/HexDump.java index 64245a03d8..77a49ed041 100644 --- a/src/java/org/apache/poi/util/HexDump.java +++ b/src/java/org/apache/poi/util/HexDump.java @@ -225,7 +225,7 @@ public class HexDump 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(); } -- 2.39.5