From f66585c7d6d5c561e6e22a78eb64fbe8cf9a800b Mon Sep 17 00:00:00 2001 From: Luis Bernardo Date: Wed, 3 Dec 2014 12:16:16 +0000 Subject: minor tweaks: updated copyright date, pdf-transcoder task, and checkstyle fixes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1643102 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/afp/ioca/Tile.java | 4 ++-- src/java/org/apache/fop/afp/ioca/TileSize.java | 8 ++++---- src/java/org/apache/fop/afp/modca/ImageObject.java | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/java') diff --git a/src/java/org/apache/fop/afp/ioca/Tile.java b/src/java/org/apache/fop/afp/ioca/Tile.java index 665c201dc..3e9d3d5ff 100644 --- a/src/java/org/apache/fop/afp/ioca/Tile.java +++ b/src/java/org/apache/fop/afp/ioca/Tile.java @@ -28,8 +28,8 @@ import org.apache.fop.afp.util.BinaryUtils; public class Tile extends AbstractStructuredObject { private static final int MAX_DATA_LEN = 8191; - private TilePosition tilePosition = null; - private TileSize tileSize = null; + private TilePosition tilePosition; + private TileSize tileSize; private BandImage bandImage; private byte[] data; diff --git a/src/java/org/apache/fop/afp/ioca/TileSize.java b/src/java/org/apache/fop/afp/ioca/TileSize.java index 7fc31cd2f..33bb4bcd3 100644 --- a/src/java/org/apache/fop/afp/ioca/TileSize.java +++ b/src/java/org/apache/fop/afp/ioca/TileSize.java @@ -27,10 +27,10 @@ import org.apache.fop.afp.util.BinaryUtils; public class TileSize extends AbstractAFPObject { - private int hSize = 0; - private int vSize = 0; -// private int hRes = 0; // hRes and vRes not used yet -probably need them in the future -// private int vRes = 0; + private int hSize; + private int vSize; +// private int hRes; // hRes and vRes not used yet -probably need them in the future +// private int vRes; public TileSize(int hsize, int vsize, int hresol, int vresol) { this.hSize = hsize; diff --git a/src/java/org/apache/fop/afp/modca/ImageObject.java b/src/java/org/apache/fop/afp/modca/ImageObject.java index c20204d1b..2452a9c15 100644 --- a/src/java/org/apache/fop/afp/modca/ImageObject.java +++ b/src/java/org/apache/fop/afp/modca/ImageObject.java @@ -80,9 +80,9 @@ public class ImageObject extends AbstractDataObject { = factory.createImageDataDescriptor(dataWidth, dataHeight, dataWidthRes, dataHeightRes); boolean setImageSize = true; - if (MimeConstants.MIME_AFP_IOCA_FS45.equals(imageObjectInfo.getMimeType()) ) { + if (MimeConstants.MIME_AFP_IOCA_FS45.equals(imageObjectInfo.getMimeType())) { imageDataDescriptor.setFunctionSet(ImageDataDescriptor.FUNCTION_SET_FS45); - if (imageObjectInfo.getBitsPerPixel() == 32 ) { + if (imageObjectInfo.getBitsPerPixel() == 32) { setImageSize = false; Tile tile = factory.createTile(); TilePosition tilePosition = factory.createTilePosition(); -- cgit v1.2.3