bug 59170: remove deprecated TableSprmUncompressor#uncompressTAP(byte[] grpprl, int offset) method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753070 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1d80673383
commit
28622a6da5
@ -35,34 +35,6 @@ public final class TableSprmUncompressor
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @deprecated POI 3.8 beta 4 */
|
|
||||||
@Deprecated
|
|
||||||
public static TableProperties uncompressTAP(byte[] grpprl, int offset)
|
|
||||||
{
|
|
||||||
TableProperties newProperties = new TableProperties();
|
|
||||||
|
|
||||||
SprmIterator sprmIt = new SprmIterator(grpprl, offset);
|
|
||||||
|
|
||||||
while (sprmIt.hasNext())
|
|
||||||
{
|
|
||||||
SprmOperation sprm = sprmIt.next();
|
|
||||||
|
|
||||||
//TAPXs are actually PAPXs so we have to make sure we are only trying to
|
|
||||||
//uncompress the right type of sprm.
|
|
||||||
if (sprm.getType() == SprmOperation.TYPE_TAP)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
unCompressTAPOperation(newProperties, sprm);
|
|
||||||
} catch (ArrayIndexOutOfBoundsException ex) {
|
|
||||||
logger.log( POILogger.ERROR, "Unable to apply ", sprm,
|
|
||||||
": ", ex, ex );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return newProperties;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static TableProperties uncompressTAP( SprmBuffer sprmBuffer )
|
public static TableProperties uncompressTAP( SprmBuffer sprmBuffer )
|
||||||
{
|
{
|
||||||
TableProperties tableProperties;
|
TableProperties tableProperties;
|
||||||
|
Loading…
Reference in New Issue
Block a user