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

[PATCH] Mistake in AFPResourceLevel#equals method

    Details

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

      Description

      Their is a small mistake in AFPResourceLevel#equals method, which renders the equals method incorrect:

      The level field is compared to itself (level == level)
      and not to the other object field (level == rl.level)
      -> The level is always equals to itself.

        Attachments

          Activity

            People

            • Assignee:
              fop-dev@xmlgraphics.apache.org fop-dev
              Reporter:
              julien.ayme@gmail.com Julien Aymé
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: