You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by on...@apache.org on 2016/07/17 13:12:27 UTC
svn commit: r1753070 -
/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java
Author: onealj
Date: Sun Jul 17 13:12:27 2016
New Revision: 1753070
URL: http://svn.apache.org/viewvc?rev=1753070&view=rev
Log:
bug 59170: remove deprecated TableSprmUncompressor#uncompressTAP(byte[] grpprl, int offset) method
Modified:
poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java?rev=1753070&r1=1753069&r2=1753070&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java Sun Jul 17 13:12:27 2016
@@ -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;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org