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/afp/modca/GraphicsObject.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/afp/modca/GraphicsObject.java')
-rw-r--r-- | src/java/org/apache/fop/afp/modca/GraphicsObject.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/afp/modca/GraphicsObject.java b/src/java/org/apache/fop/afp/modca/GraphicsObject.java index 7284c69f3..e48e636c2 100644 --- a/src/java/org/apache/fop/afp/modca/GraphicsObject.java +++ b/src/java/org/apache/fop/afp/modca/GraphicsObject.java @@ -195,8 +195,8 @@ public class GraphicsObject extends AbstractDataObject { * @param lineWidth the line width multiplier */ public void setLineWidth(float lineWidth) { - float epsilon = Float.intBitsToFloat ( 0x00800000 ); // Float.MIN_NORMAL (JDK1.6) - if ( Math.abs ( graphicsState.lineWidth - lineWidth ) > epsilon ) { + float epsilon = Float.intBitsToFloat (0x00800000); // Float.MIN_NORMAL (JDK1.6) + if (Math.abs (graphicsState.lineWidth - lineWidth) > epsilon) { addObject(new GraphicsSetFractionalLineWidth(lineWidth)); graphicsState.lineWidth = lineWidth; } |