From e3a156d11eccb3d56ee21d250c114a077697b73f Mon Sep 17 00:00:00 2001 From: Glenn Adams Date: Thu, 5 Apr 2012 02:41:59 +0000 Subject: [PATCH] Buzilla #51807: Fixed small memory waste in rowCells array construction. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1309636 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/layoutmgr/table/TableStepper.java | 2 +- status.xml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/java/org/apache/fop/layoutmgr/table/TableStepper.java b/src/java/org/apache/fop/layoutmgr/table/TableStepper.java index 7e37eeb59..c58febd0e 100644 --- a/src/java/org/apache/fop/layoutmgr/table/TableStepper.java +++ b/src/java/org/apache/fop/layoutmgr/table/TableStepper.java @@ -200,7 +200,7 @@ public class TableStepper { LinkedList footnoteList = new LinkedList(); //Put all involved grid units into a list - List cellParts = new java.util.ArrayList(columnCount); + List cellParts = new java.util.ArrayList(activeCells.size()); for (Iterator iter = activeCells.iterator(); iter.hasNext();) { ActiveCell activeCell = (ActiveCell) iter.next(); CellPart part = activeCell.createCellPart(); diff --git a/status.xml b/status.xml index b0ffd0180..08274c395 100644 --- a/status.xml +++ b/status.xml @@ -62,6 +62,9 @@ documents. Example: the fix of marks layering will be such a case when it's done. --> + + Fixed small memory waste in rowCells array construction. + Fixed incorrect rejection of fo:wrapper inside fo:inline inside fo:footnote-body. -- 2.39.5