]> source.dussan.org Git - poi.git/commitdiff
bug 59170: fix compile error from r1753052 when removing deprecated TAP_TYPE constant
authorJaven O'Neal <onealj@apache.org>
Sun, 17 Jul 2016 13:11:18 +0000 (13:11 +0000)
committerJaven O'Neal <onealj@apache.org>
Sun, 17 Jul 2016 13:11:18 +0000 (13:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753069 13f79535-47bb-0310-9956-ffa450edef68

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

index cba04c05978da135fc738cadcee550ede8de256e..1e3272f47750af3b7afdaa4cd184ca99c14b1d9c 100644 (file)
@@ -35,9 +35,9 @@ public final class TableSprmUncompressor
   {
   }
 
+  /** @deprecated POI 3.8 beta 4 */
   @Deprecated
-  public static TableProperties uncompressTAP(byte[] grpprl,
-                                                  int offset)
+  public static TableProperties uncompressTAP(byte[] grpprl, int offset)
   {
     TableProperties newProperties = new TableProperties();
 
@@ -49,7 +49,7 @@ public final class TableSprmUncompressor
 
       //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.TAP_TYPE)
+      if (sprm.getType() == SprmOperation.TYPE_TAP)
       {
         try {
             unCompressTAPOperation(newProperties, sprm);