Bug 49350 - [PATCH] Mistake in AFPResourceLevel#equals method
Summary: [PATCH] Mistake in AFPResourceLevel#equals method
Status: RESOLVED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: trunk
Hardware: All All
: P3 trivial
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2010-05-27 06:36 UTC by Julien Aymé
Modified: 2012-04-07 04:16 UTC (History)
0 users



Attachments
The proposed patch (485 bytes, application/octet-stream)
2010-05-27 06:36 UTC, Julien Aymé
Details

Note You need to log in before you can comment on or make changes to this bug.
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