Bug 49350

Summary: [PATCH] Mistake in AFPResourceLevel#equals method
Product: Fop - Now in Jira Reporter: Julien Aymé <julien.ayme>
Component: generalAssignee: fop-dev
Status: RESOLVED FIXED    
Severity: trivial Keywords: PatchAvailable
Priority: P3    
Version: trunk   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: The proposed patch

Description Julien Aymé 2010-05-27 06:36:48 UTC
Created attachment 25489 [details]
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.
Comment 1 Glenn Adams 2012-04-07 01:44:38 UTC
resetting P2 open bugs to P3 pending further review