aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/java2d/Java2DRenderer.java
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2014-07-15 20:25:58 +0000
committerVincent Hennebert <vhennebert@apache.org>2014-07-15 20:25:58 +0000
commitc411c5fb578593a402c2e93eff73f17dd10dd819 (patch)
tree58cc742f3bd5f99c73a4ee78a37c4302613cd0b8 /src/java/org/apache/fop/render/java2d/Java2DRenderer.java
parentc17e7bea1928df9ec8b2b6d24d4e0de100d3686d (diff)
downloadxmlgraphics-fop-c411c5fb578593a402c2e93eff73f17dd10dd819.tar.gz
xmlgraphics-fop-c411c5fb578593a402c2e93eff73f17dd10dd819.zip
Enabled Checkstyle ExplicitInitializationCheck and fixed resulting warnings
That check had been agreed upon but left disabled because of the number of warnings too high to fix manually git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1610839 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/java2d/Java2DRenderer.java')
-rw-r--r--src/java/org/apache/fop/render/java2d/Java2DRenderer.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/render/java2d/Java2DRenderer.java b/src/java/org/apache/fop/render/java2d/Java2DRenderer.java
index d343c55d8..576f042ce 100644
--- a/src/java/org/apache/fop/render/java2d/Java2DRenderer.java
+++ b/src/java/org/apache/fop/render/java2d/Java2DRenderer.java
@@ -116,16 +116,16 @@ public abstract class Java2DRenderer extends AbstractPathOrientedRenderer implem
protected double scaleFactor = 1;
/** The page width in pixels */
- protected int pageWidth = 0;
+ protected int pageWidth;
/** The page height in pixels */
- protected int pageHeight = 0;
+ protected int pageHeight;
/** List of Viewports */
protected List pageViewportList = new java.util.ArrayList();
/** The 0-based current page number */
- private int currentPageNumber = 0;
+ private int currentPageNumber;
/** true if anti-aliasing is set */
protected boolean antialiasing = true;
@@ -134,7 +134,7 @@ public abstract class Java2DRenderer extends AbstractPathOrientedRenderer implem
protected boolean qualityRendering = true;
/** false: paints a non-transparent white background, true: for a transparent background */
- protected boolean transparentPageBackground = false;
+ protected boolean transparentPageBackground;
/** The current state, holds a Graphics2D and its context */
protected Java2DGraphicsState state;
@@ -144,7 +144,7 @@ public abstract class Java2DRenderer extends AbstractPathOrientedRenderer implem
/** true if the renderer has finished rendering all the pages */
private boolean renderingDone;
- private GeneralPath currentPath = null;
+ private GeneralPath currentPath;
/**
* Default constructor