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

Small memory waste in TableContentPosition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.0
    • None
    • layout/unqualified
    • None
    • Operating System: All
      Platform: All
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: