From 1c077ccadfd59e9429529ad92e2a3cf783e3a501 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 25 Nov 2008 09:26:45 +0000 Subject: [PATCH] Fixed ArrayOutOfBoundsException. Object Classification triplet is 96 bytes long. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@720449 13f79535-47bb-0310-9956-ffa450edef68 --- .../fop/afp/modca/triplets/ObjectClassificationTriplet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/fop/afp/modca/triplets/ObjectClassificationTriplet.java b/src/java/org/apache/fop/afp/modca/triplets/ObjectClassificationTriplet.java index 346dddaab..9c2ab7bc4 100644 --- a/src/java/org/apache/fop/afp/modca/triplets/ObjectClassificationTriplet.java +++ b/src/java/org/apache/fop/afp/modca/triplets/ObjectClassificationTriplet.java @@ -166,7 +166,7 @@ public class ObjectClassificationTriplet extends AbstractTriplet { /** {@inheritDoc} */ public int getDataLength() { - return 95; + return 96; } private static final int OBJECT_LEVEL_LEN = 8; -- 2.39.5