aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2009-10-16 10:07:00 +0000
committerVincent Hennebert <vhennebert@apache.org>2009-10-16 10:07:00 +0000
commitabf9b193b96b66254a654506de2c0c3d2665408f (patch)
treeead11481e91b3dcfb95123e52718be8660e20b81 /src/java
parent3938e8f60e96809fbdafacf5d96e3325d3452289 (diff)
downloadxmlgraphics-fop-abf9b193b96b66254a654506de2c0c3d2665408f.tar.gz
xmlgraphics-fop-abf9b193b96b66254a654506de2c0c3d2665408f.zip
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
Diffstat (limited to 'src/java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java3
-rw-r--r--src/java/org/apache/fop/layoutmgr/ElementListUtils.java6
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;