You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ga...@apache.org on 2012/04/05 04:42:00 UTC

svn commit: r1309636 - in /xmlgraphics/fop/trunk: src/java/org/apache/fop/layoutmgr/table/TableStepper.java status.xml

Author: gadams
Date: Thu Apr  5 02:41:59 2012
New Revision: 1309636

URL: http://svn.apache.org/viewvc?rev=1309636&view=rev
Log:
Buzilla #51807: Fixed small memory waste in rowCells array construction.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableStepper.java
    xmlgraphics/fop/trunk/status.xml

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableStepper.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableStepper.java?rev=1309636&r1=1309635&r2=1309636&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableStepper.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableStepper.java Thu Apr  5 02:41:59 2012
@@ -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();

Modified: xmlgraphics/fop/trunk/status.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/status.xml?rev=1309636&r1=1309635&r2=1309636&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/status.xml (original)
+++ xmlgraphics/fop/trunk/status.xml Thu Apr  5 02:41:59 2012
@@ -62,6 +62,9 @@
       documents. Example: the fix of marks layering will be such a case when it's done.
     -->
     <release version="FOP Trunk" date="TBD">
+      <action context="Code" dev="GA" type="fix" fixes-bug="51807" due-to="Sergey Vladimirov">
+        Fixed small memory waste in rowCells array construction.
+      </action>
       <action context="Code" dev="GA" type="fix" fixes-bug="53005" due-to="Alberto Simões">
         Fixed incorrect rejection of fo:wrapper inside fo:inline inside fo:footnote-body.
       </action>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org