Fop
  1. Fop
  2. FOP-1886

[PATCH] Add type safety to collections in fop.area package (e.a.)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: general
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • External issue ID:
      50593

      Description

      Attached patch mostly adds type safety to all Collections used in the area package internally, simplifies some for-loops, eliminates redundant casts and (un)boxing...

      Reason why it's posted as a patch is that it concerns en entire package. If I judge correctly, the only effect should be that after the patch, most of the 'unsafe operation' warnings shift to other packages. The ones remaining are due to operations on external 'unsafe' Collections.

      Most significant impact is likely the change in method signature for the Resolvable interface. Not sure if that is being used by extensions...

      1. toc-error.xml
        1.0 kB
        Matthias Reischenbacher
      2. fop_area.diff
        55 kB
        Andreas L. Delmelle

        Activity

        Andreas L. Delmelle created issue -

          People

          • Assignee:
            fop-dev
            Reporter:
            Andreas L. Delmelle
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development