Fixed error with HexDump.java

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353546 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Glen Stampoultzis 2004-04-12 02:25:15 +00:00
parent a4047ad573
commit e85264cdfb

View File

@ -225,7 +225,7 @@ public class HexDump
buf.setLength(0); buf.setLength(0);
for (int j = 0; j < 8; j++) 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(); return buf.toString();
} }