You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2011/09/14 13:00:22 UTC

DO NOT REPLY [Bug 51807] New: Small memory waste in TableContentPosition

https://issues.apache.org/bugzilla/show_bug.cgi?id=51807

             Bug #: 51807
           Summary: Small memory waste in TableContentPosition
           Product: Fop
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: page-master/layout
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: vlsergey@gmail.com
    Classification: Unclassified


cellParts in TableContentPosition can be filled with null elements, because it
is initialized in TableStepper::getCombinedKnuthElementsForRowGroup() basing on
columnCount, but filled with activeCells only.

Line 202 in TableStepper
            List cellParts = new java.util.ArrayList(columnCount);
need to be replaced with
            List cellParts = new java.util.ArrayList(activeCells.size());

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 51807] Small memory waste in TableContentPosition

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51807

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Glenn Adams <gl...@skynav.com> 2012-04-05 02:43:30 UTC ---
thanks; fixed at http://svn.apache.org/viewvc?view=revision&revision=1309636

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 51807] Small memory waste in TableContentPosition

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51807

Sergey Vladimirov <vl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|LATER                       |

--- Comment #2 from Sergey Vladimirov <vl...@gmail.com> 2012-04-04 23:41:10 UTC ---
Glenn,

Patch is provided in first comment.

Sergey

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 51807] Small memory waste in TableContentPosition

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51807

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |LATER

--- Comment #1 from Glenn Adams <gl...@skynav.com> 2012-04-04 22:16:29 UTC ---
feel free to propose a patch; in the mean time, closing due to lack of action

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.