From 4510618429e54b83d09e13d872269bc449b703d2 Mon Sep 17 00:00:00 2001 From: Glenn Adams Date: Thu, 17 May 2012 17:22:20 +0000 Subject: Remove JDK1.6 dependency. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1339723 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/afp/modca/GraphicsObject.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3