]> source.dussan.org Git - poi.git/commitdiff
bug 59170: remove deprecated TableSprmUncompressor#uncompressTAP(byte[] grpprl, int...
authorJaven O'Neal <onealj@apache.org>
Sun, 17 Jul 2016 13:12:27 +0000 (13:12 +0000)
committerJaven O'Neal <onealj@apache.org>
Sun, 17 Jul 2016 13:12:27 +0000 (13:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753070 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java

index 1e3272f47750af3b7afdaa4cd184ca99c14b1d9c..4bad5bb8cd739e631bdcff5f06573984ec7f3d55 100644 (file)
@@ -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;