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

[PATCH] Mistake in AFPResourceLevel#equals method

    XMLWordPrintableJSON

Details

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

        1. AFPResourceLevel.diff
          0.5 kB
          Julien Aymé

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: