From 837cacd29624ddf4f1a58fc7069121ee8652c8f7 Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Mon, 23 Mar 2009 12:12:36 +0000 Subject: Set svn:eol-style property on page-position-last_break-before_bugzilla46489.xml test case. Simplified it by removing superfluous content and references to fonts that are not available by default. Fixed small indentation issue in ElementListUtils. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757382 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/layoutmgr/ElementListUtils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/java') diff --git a/src/java/org/apache/fop/layoutmgr/ElementListUtils.java b/src/java/org/apache/fop/layoutmgr/ElementListUtils.java index 7e337dc6b..d3403cd6b 100644 --- a/src/java/org/apache/fop/layoutmgr/ElementListUtils.java +++ b/src/java/org/apache/fop/layoutmgr/ElementListUtils.java @@ -199,8 +199,7 @@ public final class ElementListUtils { * @return true if the list starts with a forced break */ public static boolean startsWithForcedBreak(List elems) { - return !elems.isEmpty() - && ((ListElement) elems.get(0)).isForcedBreak(); + return !elems.isEmpty() && ((ListElement) elems.get(0)).isForcedBreak(); } /** -- cgit v1.2.3