aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/bitmap
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2014-04-29 08:20:32 +0000
committerSimon Steiner <ssteiner@apache.org>2014-04-29 08:20:32 +0000
commit25460e0663a0c6dd9ecd5d5f9fc219190ad88a5d (patch)
tree9d3274ba6744b9ae8d6dad65c80369c4665694e6 /src/java/org/apache/fop/render/bitmap
parent5bda482265a85b6d5556a1ac9b103809ef495173 (diff)
downloadxmlgraphics-fop-25460e0663a0c6dd9ecd5d5f9fc219190ad88a5d.tar.gz
xmlgraphics-fop-25460e0663a0c6dd9ecd5d5f9fc219190ad88a5d.zip
Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1590916 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/bitmap')
-rw-r--r--src/java/org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.java b/src/java/org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.java
index 38911a9e9..374fa5833 100644
--- a/src/java/org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.java
+++ b/src/java/org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.java
@@ -229,7 +229,8 @@ public abstract class AbstractBitmapDocumentHandler extends AbstractBinaryWritin
}
//Set up bitmap to paint on
- if (currentImage == null || currentImage.getWidth() != bitmapWidth || currentImage.getHeight() != bitmapHeight) {
+ if (currentImage == null || currentImage.getWidth() != bitmapWidth
+ || currentImage.getHeight() != bitmapHeight) {
currentImage = createBufferedImage(bitmapWidth, bitmapHeight);
}
Graphics2D graphics2D = this.currentImage.createGraphics();