xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49350] New: [PATCH] Mistake in AFPResourceLevel#equals method
Date Thu, 27 May 2010 10:36:52 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49350

           Summary: [PATCH] Mistake in AFPResourceLevel#equals method
           Product: Fop
           Version: 1.0dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: julien.ayme@gmail.com


Created an attachment (id=25489)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25489)
The proposed patch

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.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message