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/svg/PDFGraphics2D.java | |
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/svg/PDFGraphics2D.java')
-rw-r--r-- | src/java/org/apache/fop/svg/PDFGraphics2D.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/svg/PDFGraphics2D.java b/src/java/org/apache/fop/svg/PDFGraphics2D.java index e914df0f6..5d82ade23 100644 --- a/src/java/org/apache/fop/svg/PDFGraphics2D.java +++ b/src/java/org/apache/fop/svg/PDFGraphics2D.java @@ -1135,8 +1135,8 @@ public class PDFGraphics2D extends AbstractGraphics2D implements NativeImageHand val = line[x]; mask[maskIdx++] = (byte)(val >>> 24); rgb[rgbIdx++] = (byte)((val >> 16) & 0x0FF); - rgb[rgbIdx++] = (byte)((val >> 8 ) & 0x0FF); - rgb[rgbIdx++] = (byte)((val ) & 0x0FF); + rgb[rgbIdx++] = (byte)((val >> 8) & 0x0FF); + rgb[rgbIdx++] = (byte)(val & 0x0FF); } } } else { @@ -1146,8 +1146,8 @@ public class PDFGraphics2D extends AbstractGraphics2D implements NativeImageHand for (x = 0; x < devW; x++) { val = line[x]; rgb[rgbIdx++] = (byte)((val >> 16) & 0x0FF); - rgb[rgbIdx++] = (byte)((val >> 8 ) & 0x0FF); - rgb[rgbIdx++] = (byte)((val ) & 0x0FF); + rgb[rgbIdx++] = (byte)((val >> 8) & 0x0FF); + rgb[rgbIdx++] = (byte)(val & 0x0FF); } } } |