diff options
author | Glenn Adams <gadams@apache.org> | 2012-04-05 02:41:59 +0000 |
---|---|---|
committer | Glenn Adams <gadams@apache.org> | 2012-04-05 02:41:59 +0000 |
commit | e3a156d11eccb3d56ee21d250c114a077697b73f (patch) | |
tree | 3d8307a07a9cbdeba29a3b39ca6afca8b38a3955 /src | |
parent | c3ad778fa810332a2f24ce9328c142fb654ae8a6 (diff) | |
download | xmlgraphics-fop-e3a156d11eccb3d56ee21d250c114a077697b73f.tar.gz xmlgraphics-fop-e3a156d11eccb3d56ee21d250c114a077697b73f.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/table/TableStepper.java | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |