Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1966

Small memory waste in TableContentPosition

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: layout/unqualified
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • External issue ID:
      51807

      Description

      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());

        Attachments

          Activity

            People

            • Assignee:
              fop-dev@xmlgraphics.apache.org fop-dev
              Reporter:
              bsp Sergey Vladimirov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: