From abf9b193b96b66254a654506de2c0c3d2665408f Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Fri, 16 Oct 2009 10:07:00 +0000 Subject: [PATCH] Fixed a few checkstyle issues introduced in rev. 825646 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@825831 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/fop/layoutmgr/BlockStackingLayoutManager.java | 3 ++- src/java/org/apache/fop/layoutmgr/ElementListUtils.java | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java b/src/java/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java index d5878c291..92a423098 100644 --- a/src/java/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java @@ -1413,7 +1413,8 @@ public abstract class BlockStackingLayoutManager extends AbstractLayoutManager totalLength.max += element.getStretch(); //leafValue = ((LeafPosition) element.getPosition()).getLeafPos(); //log.debug("glue " + element.getWidth() + " + " - // + ((KnuthGlue) element).getStretch() + " - " + ((KnuthGlue) element).getShrink()); + // + ((KnuthGlue) element).getStretch() + " - " + // + ((KnuthGlue) element).getShrink()); } else { //log.debug((((KnuthPenalty)element).getPenalty() == KnuthElement.INFINITE // ? "PENALTY " : "penalty ") + element.getWidth()); diff --git a/src/java/org/apache/fop/layoutmgr/ElementListUtils.java b/src/java/org/apache/fop/layoutmgr/ElementListUtils.java index e0834ae22..ca11d27c2 100644 --- a/src/java/org/apache/fop/layoutmgr/ElementListUtils.java +++ b/src/java/org/apache/fop/layoutmgr/ElementListUtils.java @@ -64,7 +64,8 @@ public final class ElementListUtils { //Convert all penalties to break inhibitors if (penalty.getPenalty() < KnuthPenalty.INFINITE) { iter.set(new KnuthPenalty(penalty.getWidth(), KnuthPenalty.INFINITE, - penalty.isPenaltyFlagged(), penalty.getPosition(), penalty.isAuxiliary())); + penalty.isPenaltyFlagged(), penalty.getPosition(), + penalty.isAuxiliary())); } } else if (el.isGlue()) { KnuthGlue glue = (KnuthGlue)el; @@ -111,7 +112,8 @@ public final class ElementListUtils { //Convert all penalties to break inhibitors if (penalty.getPenalty() < KnuthPenalty.INFINITE) { i.set(new KnuthPenalty(penalty.getWidth(), KnuthPenalty.INFINITE, - penalty.isPenaltyFlagged(), penalty.getPosition(), penalty.isAuxiliary())); + penalty.isPenaltyFlagged(), penalty.getPosition(), + penalty.isAuxiliary())); } } else if (el.isGlue()) { KnuthGlue glue = (KnuthGlue)el; -- 2.39.5