From 1d806733836f8a40edea26a3ebff9d656bc2f555 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Sun, 17 Jul 2016 13:11:18 +0000 Subject: [PATCH] bug 59170: fix compile error from r1753052 when removing deprecated TAP_TYPE constant git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753069 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java | 6 +++--- 1 file changed, 3 insertions(+), 3 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 cba04c059..1e3272f47 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java @@ -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);