]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Remove unused code.
authorJeremias Maerki <jeremias@apache.org>
Thu, 13 Oct 2005 18:14:34 +0000 (18:14 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 13 Oct 2005 18:14:34 +0000 (18:14 +0000)
Javadocs.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_SpaceResolution@320846 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/AreaAdditionUtil.java

index 8093ee071dc44a08c4f86b99ef69fe343d3912b5..653fcab6f6d71c7ace1eec1cf63f0be498e959fd 100644 (file)
@@ -23,6 +23,9 @@ import java.util.LinkedList;
 
 import org.apache.fop.layoutmgr.SpaceResolver.SpaceHandlingBreakPosition;
 
+/**
+ * Utility class which provides common code for the addAreas stage.
+ */
 public class AreaAdditionUtil {
 
     private static class StackingIter extends PositionIterator {
@@ -39,6 +42,12 @@ public class AreaAdditionUtil {
         }
     }
 
+    /**
+     * Creates the child areas for the given layout manager.
+     * @param bslm the BlockStackingLayoutManager instance for which "addAreas" is performed.
+     * @param parentIter the position iterator
+     * @param layoutContext the layout context
+     */
     public static void addAreas(BlockStackingLayoutManager bslm, 
             PositionIterator parentIter, LayoutContext layoutContext) {
         LayoutManager childLM = null;
@@ -55,7 +64,6 @@ public class AreaAdditionUtil {
         while (parentIter.hasNext()) {
             pos = (Position)parentIter.next();
             if (pos == null) {
-                //positionList.add(new IgnorePosition(null));
                 continue;
             }
             if (pos.getIndex() >= 0) {