aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorLuis Bernardo <lbernardo@apache.org>2014-12-03 12:16:16 +0000
committerLuis Bernardo <lbernardo@apache.org>2014-12-03 12:16:16 +0000
commitf66585c7d6d5c561e6e22a78eb64fbe8cf9a800b (patch)
tree703c99cb2d666374796ca4027833812ad4267cea /src/java
parent8a8f2547c3ee49a9fc63b4b44892ce416a219f48 (diff)
downloadxmlgraphics-fop-f66585c7d6d5c561e6e22a78eb64fbe8cf9a800b.tar.gz
xmlgraphics-fop-f66585c7d6d5c561e6e22a78eb64fbe8cf9a800b.zip
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
Diffstat (limited to 'src/java')
-rw-r--r--src/java/org/apache/fop/afp/ioca/Tile.java4
-rw-r--r--src/java/org/apache/fop/afp/ioca/TileSize.java8
-rw-r--r--src/java/org/apache/fop/afp/modca/ImageObject.java4
3 files changed, 8 insertions, 8 deletions
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();