From 04de72e8723674a57833f76a20aa36a37579c396 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Sun, 17 Jul 2016 13:12:27 +0000 Subject: [PATCH] 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 --- .../poi/hwpf/sprm/TableSprmUncompressor.java | 28 ------------------- 1 file changed, 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; -- 2.39.5