aboutsummaryrefslogtreecommitdiffstats
path: root/src/scratchpad
diff options
context:
space:
mode:
authorAndrew C. Oliver <acoliver@apache.org>2002-03-23 17:06:16 +0000
committerAndrew C. Oliver <acoliver@apache.org>2002-03-23 17:06:16 +0000
commitee00122cd8aa6668d16e25788aa9052384713b92 (patch)
treec24c14e6482b4fa465fd531b86e6cbd283af270e /src/scratchpad
parent177471f85345b4ac2646166ca4a467217edf5bf4 (diff)
downloadpoi-ee00122cd8aa6668d16e25788aa9052384713b92.tar.gz
poi-ee00122cd8aa6668d16e25788aa9052384713b92.zip
unfixed problem...have new solution
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352266 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad')
-rw-r--r--src/scratchpad/src/org/apache/poi/generator/RecordUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scratchpad/src/org/apache/poi/generator/RecordUtil.java b/src/scratchpad/src/org/apache/poi/generator/RecordUtil.java
index 4ccb49b26e..480dda981e 100644
--- a/src/scratchpad/src/org/apache/poi/generator/RecordUtil.java
+++ b/src/scratchpad/src/org/apache/poi/generator/RecordUtil.java
@@ -162,7 +162,7 @@ public class RecordUtil
public static String getMask(int bit)
{
- if (bit > 1) bit--;
+ //if (bit > 1) bit--;
int mask = (int)Math.pow(2, bit);
return "0x" + Integer.toHexString(mask);