diff options
author | Javen O'Neal <onealj@apache.org> | 2016-07-17 13:12:27 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2016-07-17 13:12:27 +0000 |
commit | 04de72e8723674a57833f76a20aa36a37579c396 (patch) | |
tree | 198e4b32bcd98f3d0e6de1d97c94dc2a2f99b46c | |
parent | 52838316b46543e5f363d685cdfbfa1720bf62a7 (diff) | |
download | poi-04de72e8723674a57833f76a20aa36a37579c396.tar.gz poi-04de72e8723674a57833f76a20aa36a37579c396.zip |
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
-rw-r--r-- | src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java index 1e3272f477..4bad5bb8cd 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java @@ -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 ) { TableProperties tableProperties; |