From 52838316b46543e5f363d685cdfbfa1720bf62a7 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 cba04c0597..1e3272f477 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); -- 2.39.5