FOP
  1. FOP
  2. FOP-1807

[PATCH] Mistake in AFPResourceLevel#equals method

    Details

    • Type: Bug 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.

        Activity

        Hide
        Julien Aymé added a comment -

        Attachment AFPResourceLevel.diff has been added with description: The proposed patch

        Show
        Julien Aymé added a comment - Attachment AFPResourceLevel.diff has been added with description: The proposed patch
        Julien Aymé created issue -
        Hide
        Glenn Adams added a comment -

        resetting P2 open bugs to P3 pending further review

        Show
        Glenn Adams added a comment - resetting P2 open bugs to P3 pending further review
        Show
        Glenn Adams added a comment - http://svn.apache.org/viewvc?view=revision&revision=1310669

          People

          • Assignee:
            fop-dev
            Reporter:
            Julien Aymé
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development