diff options
author | Glenn Adams <gadams@apache.org> | 2012-05-17 17:22:20 +0000 |
---|---|---|
committer | Glenn Adams <gadams@apache.org> | 2012-05-17 17:22:20 +0000 |
commit | 4510618429e54b83d09e13d872269bc449b703d2 (patch) | |
tree | d0f8b1efe364e70221ddf700961011fe2dc44a95 | |
parent | 07fec76dcd82198c5228a45a75543dbf5c59f320 (diff) | |
download | xmlgraphics-fop-4510618429e54b83d09e13d872269bc449b703d2.tar.gz xmlgraphics-fop-4510618429e54b83d09e13d872269bc449b703d2.zip |
Remove JDK1.6 dependency.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1339723 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/afp/modca/GraphicsObject.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/afp/modca/GraphicsObject.java b/src/java/org/apache/fop/afp/modca/GraphicsObject.java index 6dc6bb53f..7284c69f3 100644 --- a/src/java/org/apache/fop/afp/modca/GraphicsObject.java +++ b/src/java/org/apache/fop/afp/modca/GraphicsObject.java @@ -195,7 +195,7 @@ public class GraphicsObject extends AbstractDataObject { * @param lineWidth the line width multiplier */ public void setLineWidth(float lineWidth) { - float epsilon = Float.MIN_NORMAL; + float epsilon = Float.intBitsToFloat ( 0x00800000 ); // Float.MIN_NORMAL (JDK1.6) if ( Math.abs ( graphicsState.lineWidth - lineWidth ) > epsilon ) { addObject(new GraphicsSetFractionalLineWidth(lineWidth)); graphicsState.lineWidth = lineWidth; |