Browse Source

Fixed checkstyle warnings


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1160172 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-1_1rc1old
Peter Hancock 12 years ago
parent
commit
c3e956474f
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/java/org/apache/fop/afp/modca/AbstractAFPObject.java

+ 3
- 1
src/java/org/apache/fop/afp/modca/AbstractAFPObject.java View File

0x00, // Reserved 0x00, // Reserved
}; };


/** Length of bytes of a Structured Field Header */
protected static final int SF_HEADER_LENGTH = SF_HEADER.length; protected static final int SF_HEADER_LENGTH = SF_HEADER.length;


/** /**
* @param category the category code * @param category the category code
*/ */
protected static void copySF(byte[] data, byte clazz, byte type, byte category) { protected static void copySF(byte[] data, byte clazz, byte type, byte category) {
System.arraycopy(SF_HEADER, 0, data, 0, SF_HEADER.length);
System.arraycopy(SF_HEADER, 0, data, 0, SF_HEADER_LENGTH);
data[3] = clazz; data[3] = clazz;
data[4] = type; data[4] = type;
data[5] = category; data[5] = category;
* Writes a collection of Streamable to the AFP Datastream. * Writes a collection of Streamable to the AFP Datastream.
* *
* @param objects a list of AFPObjects * @param objects a list of AFPObjects
* @param <S> Streamable view of an AFPObject
* @param os The stream to write to * @param os The stream to write to
* @throws java.io.IOException an I/O exception of some sort has occurred. * @throws java.io.IOException an I/O exception of some sort has occurred.
*/ */

Loading…
Cancel
Save