mirror of https://github.com/apache/poi.git
unfixed problem...have new solution
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352266 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
177471f853
commit
ee00122cd8
|
@ -162,7 +162,7 @@ public class RecordUtil
|
||||||
|
|
||||||
public static String getMask(int bit)
|
public static String getMask(int bit)
|
||||||
{
|
{
|
||||||
if (bit > 1) bit--;
|
//if (bit > 1) bit--;
|
||||||
int mask = (int)Math.pow(2, bit);
|
int mask = (int)Math.pow(2, bit);
|
||||||
|
|
||||||
return "0x" + Integer.toHexString(mask);
|
return "0x" + Integer.toHexString(mask);
|
||||||
|
|
Loading…
Reference in New Issue