Browse Source

Better way to eliminate FindBugs warning?

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1073116 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-1_1rc1old
Andreas L. Delmelle 13 years ago
parent
commit
1333b12d43
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java

+ 1
- 0
src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java View File

@@ -141,6 +141,7 @@ public class BlockLayoutManager extends BlockStackingLayoutManager
return childLM.getNextKnuthElements(childLC, alignment);
} else {
if (childLM instanceof LineLayoutManager) {
assert (restartPosition instanceof LeafPosition);
return ((LineLayoutManager) childLM).getNextKnuthElements(childLC, alignment,
(LeafPosition) restartPosition);
} else {

Loading…
Cancel
Save