From: Jeremias Maerki Date: Tue, 25 Nov 2008 09:26:45 +0000 (+0000) Subject: Fixed ArrayOutOfBoundsException. Object Classification triplet is 96 bytes long. X-Git-Tag: fop-1_0~376^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1c077ccadfd59e9429529ad92e2a3cf783e3a501;p=xmlgraphics-fop.git 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 --- 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;