From 247031c3b7816efe93a82b776fc9f0f925d576e2 Mon Sep 17 00:00:00 2001 From: Glenn Adams Date: Mon, 31 Dec 2012 14:46:01 +0000 Subject: FOP-2179: Fix checkstyle and findbugs warnings. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1427143 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/area/inline/InlineArea.java | 2 +- src/java/org/apache/fop/area/inline/InlineParent.java | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src/java/org/apache/fop/area/inline') diff --git a/src/java/org/apache/fop/area/inline/InlineArea.java b/src/java/org/apache/fop/area/inline/InlineArea.java index d92ea4f4f..399bd1f1e 100644 --- a/src/java/org/apache/fop/area/inline/InlineArea.java +++ b/src/java/org/apache/fop/area/inline/InlineArea.java @@ -278,7 +278,7 @@ public class InlineArea extends Area { storedIPDVariation += ipdVariation; } } - + /** * Returns the offset that this area would have if its offset and size were taking * children areas into account. The bpd of an inline area is taken from its nominal diff --git a/src/java/org/apache/fop/area/inline/InlineParent.java b/src/java/org/apache/fop/area/inline/InlineParent.java index 4d3f27b30..1be3aff0f 100644 --- a/src/java/org/apache/fop/area/inline/InlineParent.java +++ b/src/java/org/apache/fop/area/inline/InlineParent.java @@ -19,10 +19,9 @@ package org.apache.fop.area.inline; -import java.util.Iterator; import java.util.ArrayList; +import java.util.Iterator; import java.util.List; -import java.lang.Math; import org.apache.fop.area.Area; @@ -41,10 +40,10 @@ public class InlineParent extends InlineArea { /** Controls whether the IPD is automatically adjusted based on the area's children. */ protected transient boolean autoSize; - + /** The offset of the beforest child area of this area. */ protected int minChildOffset; - + /** * The offset of the afterest child area of this area. Offset from the * before-edge of this area's content-rectangle and the after-edge of the child area's -- cgit v1.2.3