remove deprecated constructor for @Internal PAPBinTable

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748486 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-06-15 03:31:41 +00:00
parent 552ccb58e4
commit 46a36df416

View File

@ -50,24 +50,12 @@ public class PAPBinTable
private static final POILogger logger = POILogFactory private static final POILogger logger = POILogFactory
.getLogger( PAPBinTable.class ); .getLogger( PAPBinTable.class );
protected ArrayList<PAPX> _paragraphs = new ArrayList<PAPX>(); protected final ArrayList<PAPX> _paragraphs = new ArrayList<PAPX>();
public PAPBinTable() 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, public PAPBinTable( byte[] documentStream, byte[] tableStream,
byte[] dataStream, int offset, int size, byte[] dataStream, int offset, int size,
CharIndexTranslator charIndexTranslator ) CharIndexTranslator charIndexTranslator )
@ -83,8 +71,7 @@ public class PAPBinTable
GenericPropertyNode node = binTable.getProperty( x ); GenericPropertyNode node = binTable.getProperty( x );
int pageNum = LittleEndian.getInt( node.getBytes() ); int pageNum = LittleEndian.getInt( node.getBytes() );
int pageOffset = POIFSConstants.SMALLER_BIG_BLOCK_SIZE int pageOffset = POIFSConstants.SMALLER_BIG_BLOCK_SIZE * pageNum;
* pageNum;
PAPFormattedDiskPage pfkp = new PAPFormattedDiskPage( PAPFormattedDiskPage pfkp = new PAPFormattedDiskPage(
documentStream, dataStream, pageOffset, documentStream, dataStream, pageOffset,