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
This commit is contained in:
Javen O'Neal 2016-07-17 13:11:18 +00:00
parent b2b1a030a3
commit 1d80673383

View File

@ -35,9 +35,9 @@ public final class TableSprmUncompressor
{ {
} }
/** @deprecated POI 3.8 beta 4 */
@Deprecated @Deprecated
public static TableProperties uncompressTAP(byte[] grpprl, public static TableProperties uncompressTAP(byte[] grpprl, int offset)
int offset)
{ {
TableProperties newProperties = new TableProperties(); 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 //TAPXs are actually PAPXs so we have to make sure we are only trying to
//uncompress the right type of sprm. //uncompress the right type of sprm.
if (sprm.getType() == SprmOperation.TAP_TYPE) if (sprm.getType() == SprmOperation.TYPE_TAP)
{ {
try { try {
unCompressTAPOperation(newProperties, sprm); unCompressTAPOperation(newProperties, sprm);