From 25460e0663a0c6dd9ecd5d5f9fc219190ad88a5d Mon Sep 17 00:00:00 2001 From: Simon Steiner Date: Tue, 29 Apr 2014 08:20:32 +0000 Subject: Checkstyle git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1590916 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/java/org/apache/fop/render/bitmap') 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(); -- cgit v1.2.3