aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/pcl
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2013-05-07 16:23:13 +0000
committerVincent Hennebert <vhennebert@apache.org>2013-05-07 16:23:13 +0000
commite8f590803ae0bb67a0d1686c47ccc2fb6d187ae8 (patch)
tree1d332afdbc04dce657b7480df6f20d4498cd0712 /src/java/org/apache/fop/render/pcl
parent4726c4f941c2179152a3c27e0dc7f62147e825f3 (diff)
downloadxmlgraphics-fop-e8f590803ae0bb67a0d1686c47ccc2fb6d187ae8.tar.gz
xmlgraphics-fop-e8f590803ae0bb67a0d1686c47ccc2fb6d187ae8.zip
Cosmetics only: enabled Checkstyle MethodParamPad rule and fixed corresponding violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1479969 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/pcl')
-rw-r--r--src/java/org/apache/fop/render/pcl/PCLPainter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/pcl/PCLPainter.java b/src/java/org/apache/fop/render/pcl/PCLPainter.java
index 974f5d7da..7a15a5f52 100644
--- a/src/java/org/apache/fop/render/pcl/PCLPainter.java
+++ b/src/java/org/apache/fop/render/pcl/PCLPainter.java
@@ -346,7 +346,7 @@ public class PCLPainter extends AbstractIFPainter<PCLDocumentHandler> implements
float fontSize = state.getFontSize() / 1000f;
Font font = getFontInfo().getFontInstance(triplet, state.getFontSize());
int l = text.length();
- int[] dx = IFUtil.convertDPToDX (dp);
+ int[] dx = IFUtil.convertDPToDX(dp);
int dxl = (dx != null ? dx.length : 0);
StringBuffer sb = new StringBuffer(Math.max(16, l));
@@ -402,7 +402,7 @@ public class PCLPainter extends AbstractIFPainter<PCLDocumentHandler> implements
0, maxAscent - descent + 2 * safetyMargin);
int l = text.length();
- int[] dx = IFUtil.convertDPToDX (dp);
+ int[] dx = IFUtil.convertDPToDX(dp);
int dxl = (dx != null ? dx.length : 0);
if (dx != null && dxl > 0 && dx[0] != 0) {