diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/PAPBinTable.java b/src/scratchpad/src/org/apache/poi/hwpf/model/PAPBinTable.java index a88b42ae0..574d6a3cf 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/model/PAPBinTable.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/model/PAPBinTable.java @@ -50,24 +50,12 @@ public class PAPBinTable private static final POILogger logger = POILogFactory .getLogger( PAPBinTable.class ); - protected ArrayList _paragraphs = new ArrayList(); + protected final ArrayList _paragraphs = new ArrayList(); public PAPBinTable() { } - /** - * @deprecated Use - * {@link #PAPBinTable(byte[], byte[], byte[], int, int, CharIndexTranslator)} - * instead - */ - public PAPBinTable( byte[] documentStream, byte[] tableStream, - byte[] dataStream, int offset, int size, int fcMin, - TextPieceTable tpt ) - { - this( documentStream, tableStream, dataStream, offset, size, tpt ); - } - public PAPBinTable( byte[] documentStream, byte[] tableStream, byte[] dataStream, int offset, int size, CharIndexTranslator charIndexTranslator ) @@ -83,8 +71,7 @@ public class PAPBinTable GenericPropertyNode node = binTable.getProperty( x ); int pageNum = LittleEndian.getInt( node.getBytes() ); - int pageOffset = POIFSConstants.SMALLER_BIG_BLOCK_SIZE - * pageNum; + int pageOffset = POIFSConstants.SMALLER_BIG_BLOCK_SIZE * pageNum; PAPFormattedDiskPage pfkp = new PAPFormattedDiskPage( documentStream, dataStream, pageOffset,