aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area/Footnote.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/area/Footnote.java')
-rw-r--r--src/java/org/apache/fop/area/Footnote.java27
1 files changed, 2 insertions, 25 deletions
diff --git a/src/java/org/apache/fop/area/Footnote.java b/src/java/org/apache/fop/area/Footnote.java
index 735dfaf25..afa12afaf 100644
--- a/src/java/org/apache/fop/area/Footnote.java
+++ b/src/java/org/apache/fop/area/Footnote.java
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2005 The Apache Software Foundation.
+ * Copyright 1999-2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,9 +18,6 @@
package org.apache.fop.area;
-import java.util.ArrayList;
-import java.util.List;
-
// may combine with before float into a conditional area
/**
@@ -80,29 +77,9 @@ public class Footnote extends BlockParent {
* @param child the block area.
*/
public void addBlock(Block child) {
- if (children == null) {
- children = new ArrayList();
- }
+ addChildArea(child);
this.setBPD(this.getBPD() + child.getBPD());
- children.add(child);
- }
-
- /**
- * Get all child areas.
- *
- * @return the list of child areas. Maybe null.
- */
- public List getChildAreas() {
- return children;
}
- /**
- * Check whether there are child areas.
- *
- * @return the result.
- */
- public boolean isEmpty() {
- return children == null || children.size() == 0;
- }
}