diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2013-04-09 17:31:41 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2013-04-09 17:31:41 +0000 |
commit | 37ea66b1918a88490046c51ed1ac8acd49c661b7 (patch) | |
tree | e019cba719102e952845903812fb97521c7ec0e2 /src/java/org/apache/fop/render/afp | |
parent | ce39d4c2fb899be5d8d705fe72e0153fde21e592 (diff) | |
download | xmlgraphics-fop-37ea66b1918a88490046c51ed1ac8acd49c661b7.tar.gz xmlgraphics-fop-37ea66b1918a88490046c51ed1ac8acd49c661b7.zip |
Cosmetics only: enabled Checkstyle ParenPad rule and fixed corresponding violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1466146 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/afp')
-rw-r--r-- | src/java/org/apache/fop/render/afp/AFPPainter.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/render/afp/AFPPainter.java b/src/java/org/apache/fop/render/afp/AFPPainter.java index 014b70735..f7424c89c 100644 --- a/src/java/org/apache/fop/render/afp/AFPPainter.java +++ b/src/java/org/apache/fop/render/afp/AFPPainter.java @@ -894,8 +894,7 @@ public class AFPPainter extends AbstractIFPainter<AFPDocumentHandler> { } /** {@inheritDoc} */ - public void drawText( // CSOK: MethodLength - int x, int y, final int letterSpacing, final int wordSpacing, + public void drawText(int x, int y, final int letterSpacing, final int wordSpacing, final int[][] dp, final String text) throws IFException { final int fontSize = this.state.getFontSize(); getPaintingState().setFontSize(fontSize); @@ -941,7 +940,7 @@ public class AFPPainter extends AbstractIFPainter<AFPDocumentHandler> { builder.setCodedFont((byte) fontReference); 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(); |